Skip to main content

How to Adjust Entire Blog and Side Bar Width Of Your Blog : Blogger CSS Code

Hi Welcome all, Here is the another tutorial about how you can Adjust or resize your Blogger blog width and sidebar width with various conditions using CSS code. Adjust the blog width is very important to look better as per your choice and it should be Responsive compatible. Here you can easily adjust blog width using CSS please follow the below tutorial.
How to Adjust Entire Blog and Side Bar Width Of Your Blog
There are two method to adjust widths of your blog, the first one is you can adjust width of entire blog and right side bar using "Blogger Template Designer" or "Blogger Theme Designer" but if you are using customised Blogger Template or third party Blogger Template, then you may not have this option in that case you need to use CSS and the second one is by using "Cascading Style Sheets" (CSS) Programming language which is a style sheet language used for describing the presentation of a document written in a markup language like HTML.

Adjust Entire Blog and Right Side Bar Widths (Blogger Theme Designer):
Adjust Entire Blog and Right Side Bar Widths Using Blogger Theme Designer
  • Log in to your Blogger account and select the Blog you want adjust Widths.
  • Now click on Theme on the left side panel of the blog.
  • Then Click on Customize it will open the Blogger Theme Designer Page.
  • Now click on Adjust Widths you well see two options Adjust width of Entire Blog and Right Side Bar. If you are using 3 Column layout Blogger template then you will have 3 parts of your blog to adjust.
  • Adjust widths by dragging the button left or right or you can enter the size in pixel. 
Adjust Entire Blog and Right Side Bar Widths Using CSS:
Adjust Entire Blog and Right Side Bar Widths Using CSS
  • Go to Theme ----> Edit HTML.
  • Then find Ctrl+F .containernbt (in your case it's may different)
  • Now add the below CSS code after it.

.mainblogsec {max-width: 800px;}
.sidebarrightnbt {max-width: 320px;}

It will set the blog post section width to maximum 800 pixel and side bar width to maximum 320 pixel, that means width of your blog should not exceed to the size you have set.


.mainblogsec {width: 800px;}
.sidebarrightnbt {width: 320px;}

It will fix the width of blog on any screen size, that means, the blog post section width will be 800 pixel and side bar width will 320 pixel which are fixed in any condition or size of the device screen.

Examples of Blog Width Adjust:

Style 1

/*--------------------------------------[CONTAINER]
*/
.containernbt {width: auto; max-width: 100%; margin: 100px auto; float:left; margin-left: 20px;}
.mainblogsec {max-width: 800px;}
.sidebarrightnbt {max-width: 320px;}
@media (max-width: 47.938em) {.containernbt {margin: 80px auto; }}
@media (max-width: 47.938em) {aside {margin-top:30px }} 


If you use this CSS coding in your blog to adjust width, where width=auto and max-width-100%  that means it will fit with the full size of the device screen and with the condition of left alignment and left margin 20px and your blog post width will be maximum 800px and right side bar width will be 320 pixel.

Style 2

/*--------------------------------------[CONTAINER]
*/
.containernbt {max-width: 1120px; max-width: 100%; margin: 100px auto; float:left; margin-left: 20px;}
.mainblogsec {max-width: 800px;}
.sidebarrightnbt {max-width: 320px;}
@media (max-width: 47.938em) {.
containernbt {margin: 80px auto; }}
@media (max-width: 47.938em) {aside {margin-top:30px }}


In this case the size of the entire blog should not be exceed to 1120 pixel width with 800 pixel post section and 320 pixel right side bar and others will be same such as left alignment with 20 pixel margin.

If you want to center your whole blog then remove the float left and margin left, then the entire blog will center align with other width same as above described.

Comments

  1. Very great post. I simply stumbled upon your log
    and wanted to mention that I havce truly loved surfing around your blog posts.

    In any case I'll be subscribing on your feed and I am hoping
    you write again very soon!

    ReplyDelete
    Replies
    1. Thank you for your valuable comment and we are always trying to give good and quality articles in the blog.

      Thanks & Regards

      Free Computer Tricks
      Firmware Files

      Delete

Post a Comment

Please Share Your Thoughts

Popular posts from this blog

New CSC Banner Download available in PSD format(December 2022)

Dear VLE, Ministry has approved new Common Branding  format for CSC Center in category wise. There are three types of designs: 1. First one is for CSCs providing general services, and which do not provide UCL or BC service. 2. Second one is for CSCs that provide both BC and UCL services. 3. Third one is for CSCs that provide BC services along with other services. All VLES are to install one of these branding boards at their CSC depending on the services provided.   3 CSC banner design download PSD file - free computer tricks Links to the Designs: Generic CSC Centre Banner:- Generic CSC Centre Banner sample Download  Generic CSC Centre Banner PSD format from the below link Generic CSC Centre Banner || Download Here BC+UCL Centre Banner:- BC+UCL Centre Banner sample Download  BC+UCL Centre Banner PSD format from the below link BC+UCL Centre Banner || Download Here BC Centre Banner:- BC Centre Banner sample Download  BC Centre Banner PSD format from t...

Moto Fastboot FRP Unlock Tool - Reset/Bypass All Moto Qualcomm FRP Lock For Free !!!

Hi all, here is another interesting tutorial about Factory Reset Protection FRP bypass. If you have Moto any model with Qualcomm CPU or Chipset then use this method of Fastboot FRP Unlocking using the Free Fastboot Boot FRP Tool for Moto Qualcomm based phones. This method is so easy and working on Android 7.0 on any Moto smartphone having Qualcomm chip-set. So please follow the below tutorial to know how to remove FRP of Moto using Fastboot Mode. Here you can also download the Moto Fastboot FRP Unlock tool for free and it's small Windows software or tool, that can do the FRP unlock of any Moto smartphone with Fastboot mode, you can also watch video tutorial on YouTube to know how to use the FRP tool, tested on Moto Qualcomm Android 7.0. Moto Fastboot FRP Unlock Tool - Bypass All Moto Qualcomm FRP Lock Tool For Free !!! How To Enable USB Debugging On Moto Locked? If you need to know how to enable USB debugging on a frp locked Moto phone, without using internet or any ...

Realme Narzo 30 Pro 5G price in India and specifications

Realme Narzo 30 Pro 5G price in India and specifications Specifications Details Display 6.5-inch FHD+ IPS LCD display with 1080 x 2400 pixel resolution, 120Hz refresh rate Processor MediaTek Dimensity 800U 5G processor RAM 6GB/8GB LPDDR4x RAM Storage 64GB/128GB UFS 2.1 internal storage, expandable up to 256GB via microSD card Rear Camera Triple-camera setup with 48MP primary sensor, 8MP ultra-wide-angle lens, and 2MP macro lens Front Camera 16MP selfie camera Battery 5000mAh battery with 30W Dart Charge support Operating System Android 10 with Realme UI Connectivity Dual-SIM 5G, 4G LTE, Wi-Fi, Bluetooth 5.1, GPS, USB Type-C Other Features Side-mounted fingerprint scanner, 3.5mm headphone jack Price (As of my knowle...