Breaking

Thursday, June 18, 2020

How to find the width of your blog Header, Sidebar and Main column

To find the width of the blog Header, sidebars, main column, sign into Dashboard. In the section for the blog, click LAYOUT, then click EDIT TEMPLATE. This will open the template editor window tab. Search through the templates for the following code:
ब्लॉग की चौड़ाई प्राप्त करने के लिए हैडर, साइडबार, मुख्य कॉलम, डैशबोर्ड में साइन इन करें। संबंधित ब्लॉग के section में, LAYOUT पर क्लिक करें, फिर EDIT TEMPLATE पर क्लिक करें। इससे टेम्प्लेट एडिटर विंडो खुल जाएगी। निम्नलिखित के लिए टेम्पलेट्स के माध्यम से खोजें:
#header-wrapper {
width:750px;
margin:0 auto 10px;
border:1px solid $bordercolor;
}

#main-wrapper {
width: 400px;
margin-left: 20px;
float: left;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
}

#sidebar-wrapper {
width: 150px;
float: right;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
}

These codes are from the template of the blog. The first block of code tells me that the width of the header is 750 pixels. The second block states that the width of the main column is 400 pixels. The last two blocks of code tell me that both sidebars are 150 pixels wide.
 ये कोड इस ब्लॉग के टेम्पलेट से हैं। कोड का पहला ब्लॉक मुझे बताता है कि हेडर की चौड़ाई 750 पिक्सेल है। दूसरा ब्लॉक कहता है कि मुख्य कॉलम की चौड़ाई 400 पिक्सेल है। कोड के अंतिम दो ब्लॉक मुझे बताते हैं कि दोनों साइडबार 150 पिक्सल की चौड़ाई के हैं।

No comments:

Post a Comment