Centering Logo in Header – Sample Child Theme

Community Forums Forums Design Tips and Tricks Centering Logo in Header – Sample Child Theme

This topic is: not resolved

This topic contains 5 replies, has 3 voices, and was last updated by  Landon 1 year, 8 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5862

    Landon
    Participant
    Post count: 64

    So very frustrated with myself on this. Have added a logo to .header-image #title-area but can not get it centered. I’ve messed  with the css so much I’ve probably got it all screwed up. Regardless, if someone could take a look and tell me if something stands out, I’d really like to move past this and work on the rest of the site.

    http://magmo.dev4.webenabled.net/

    Genesis Framework
    Sample Child Theme

    Thanks a lot!

    Landon

    #5866

    Doak Heggeness
    Participant
    Post count: 145

    You need to change the float:left to float:none or delete it.


    Doak Heggeness, WordPress Development | Website

    #5867

    Landon
    Participant
    Post count: 64

    Doak, thanks for looking and responding. However, I’ve tried that. Float: right works as expected but Float: none or just deleting do not work, it remains on the left.

    Currently it’s Float: none but as you will see, it doesn’t matter.

    #5877

    leannemorrison
    Participant
    Post count: 21

    Hi Landon, have you tried this?

    Add “background-position: center !important;” to the #header rule

    I found it in the archived posts just now.  Not sure where to add it (stylesheet etc) but I remember using it recently and it worked.

    Hope it helps

    Cheers

    Leanne

    #5909

    Landon
    Participant
    Post count: 64

    Leanne, I had no luck with that either. It looks like after the fact the other person working on this placed…

     <a title=”Home” href=”http://www.magicmomentsdvd.com”><img alt=”mmlogo1.png” src=”http://magmo.dev4.webenabled.net/wp-content/uploads/2012/12/mmlogo1.png” /></a>

    directly into the Genesis Theme Settings>Header and Footer Scripts.

    Is this a suitable way of doing it? It doesn’t ‘feel’ right.

    Thanks again!

    • This reply was modified 1 year, 10 months ago by  Landon.
    • This reply was modified 1 year, 10 months ago by  Landon.
    • This reply was modified 1 year, 10 months ago by  Landon.
    • This reply was modified 1 year, 10 months ago by  Landon.
    • This reply was modified 1 year, 10 months ago by  Landon.
    • This reply was modified 1 year, 10 months ago by  Landon.
    #16297

    Landon
    Participant
    Post count: 64

    Leanne, I just ran into this again on a different site and your suggestion to add background-position: center !important; did the trick.

    Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.