All blogger headers are, by default, aligned to the left. I was helping somebody to design a blog using blogger.com when I came across what I want to share with you today.
The person actually asked me to design a header for his blog and centralize the header. As I was racking my memory to know how best I could do it, I came across this simple way of doing it.
Steps:
- Log in to your blog's dashboard.
- From the drop down menu, click layout.
- On the layout window, click Template Designer.
- On the template designer window, click Advanced >> Add CSS
- Copy and paste the CSS code below:
#header-inner img {margin: 0 auto !important;}
#header-inner {text-align:center !important;}
Apply to blog and your blog header will be centralized immediately.
Comments
Post a Comment