Controlling Blogger (Blogspot) Post Body Width

Thank you Upwork and Md. Sumon : 

The GUI for tweaking the template has no option for adjusting Page Body Container size. Only custom CSS code in the HTML of the template can do it.

Look for (this is after you've gone into Theme > Edit HTML) :

]]></b:skin>

And, just above that, add this code :

body.item-view .Blog .post-body {
margin-bottom: 0;
margin-right: 0;
}
body.item-view .Blog .post-body-container {
padding-right: 0;
position: relative;
margin-left: 0;
margin-top: 20px;
margin-bottom: 32px;
}

This now takes up all the available space. If you want to tweak further :

body.item-view .Blog .post-body-container {
padding-right: 0;
position: relative;
margin-left: auto;
margin-top: 20px;
margin-bottom: 32px;
margin-right: auto;
max-width: 1100px;
}

How do you find this out? You go into Chrome's Developer Tools and then start tweaking elements.

Comments

Popular posts from this blog

How Should You Put Your Text in a Box?

Tricks : Getting Image URL When Page Doesn't Want You To!

A Web Interface to Try Dual Key Caesar Cipher Encryption and Decryption