Build Your Own Business Website header image

The Beginner’s Guide to the Thesis 2.1 Skin Editor – Part 13 – Example – Center the Text in the Header

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

Whoops, you've found some premium content!

Watch the opening clip of this video to preview it,
the full video is available to paid members.

Somebody asked how to center the tag line in the header. So let’s go to a place that has a tag line. And what you would do is use text align center. Now first you want to know what you’re targeting here. You saw what we were targeting when we look in our html which in this case was site_tagline.

So what we’ll do is come over to our Custom CSS and say, #site_tagline{ text-align:center. Save the custom css, refresh it and there it is.

Now let’s say you want to center all of that. Well, all of that is sitting inside of…something with the id of header. So what we’re going to do here is, instead of saying #site_tagline, what we’ll do is say #header{ because both the site tagline and site title are inside the header so that can be used to style them instead and actually now the search box is also centered.

0 Comments… add one
0 comments… add one

Leave a Comment