Centered Headers In Contempo...

Recently, I decided to revisit this issue. After some trial and error on one of my non-anime related sites, I have some basic CSS that will work with out-of-the-box Contempo. If you've heavily customized your theme as I have, your mileage will vary. The coding actually wasn't as complicated this time around thanks to advances in CSS support in various browsers. The necessary code is actually fairly short. Add the following CSS code snippet using Theme > Customize > Advanced > Add CSS:
.sticky .blog-name, .item-view .blog-name {
justify-content: center;
}
.item-view #header h1 {
text-align:center !important;
}
.item-view #header {
width:100%;
clear:both;
}
nav:before {
clear:both;
}
.item-view .Header p {
text-align:center;
}
That's all I have for today. Enjoy!
Thanks for the help.
ReplyDelete