How to center header image in WP theme??? (3 posts)

  1. entreprekneuer
    Posted 3 years ago #

    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 http://www.IronForkFitness.com.


  2. WPyogi
    Forum Moderator
    Posted 3 years ago #

    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.

  3. entreprekneuer
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic