Support » Themes and Templates » How to center header image in WP theme???

  • entreprekneuer


    I am using the theme GoPress and so far it seems like it will fit my needs except the problem I am having centering my logo in the header. I tried doing <center> logo html </center> but that doesn’t work. I am not very versed at CSS and hope there is a way to do it from the theme options menus. Can someone please helpt? The site is


Viewing 2 replies - 1 through 2 (of 2 total)
  • WPyogi


    Forum Moderator

    CSS is the way to work with layout and positioning. In this case, you need to change the following CSS:

    #header-banner {
        margin: 0 auto;
        width: 900px;

    Remove the text-align: right; line from the above.

    BTW, <center> is deprecated code — so avoid using it.



    Thank you so much! I have one other question you may be able to help me with if you have a moment. I am using the theme “GoPress” and want to show more than just the first 2 sentences of my posts on my homepage, I would like at least the first 5-6 lines. Is it possible to do this? There is the option under Settings > Reading it says for each article in a feed show either Full Text or Summary. I checked both options at different times to see what happened and nothing changed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to center header image in WP theme???’ is closed to new replies.