Center blog title and tag line
-
In the Twenty-Twelve theme, what is the code for
1) centering the blog of the title;
2) centering the tag line; and
3) moving the title and tag line down from the top of the page?Thank you for your help.
MikeThe blog I need help with is: (visible only to logged in users)
-
-
-
@marshmk
Here’s the link to the Twenty Twelve stylesheet so you can determine the selectors https://wpcom-themes.svn.automattic.com/twentytwelve/style.css -
Hi Mike.
To centre the title and tagline of the blog, insert the following CSS snippet into your Custom CSS Editor:
.site-header h1, .site-header h2{ text-align: center; }By “moving the title and tagline down from the top of the page,” I’m assuming you mean to shift them down the page a little bit as opposed to changing their position completely . If this assumption’s right, then the CSS you need is:
.site-header{ margin-top: 10px; }You can change the value for margin-top as you wish. If this wasn’t the solution you was after for your third question then let me know and I’ll see if I can help further.
-
Thank you very much siobhyb and timethief. The code worked just right. I appreciate your quick and helpful responses.
Mike
-
-
- The topic ‘Center blog title and tag line’ is closed to new replies.