WordPress.org

Forums

[resolved] How to center custom logo header image (7 posts)

  1. DeMontGuitars
    Member
    Posted 1 year ago #

    I've been searching and searching and find others with this problem, but their solutions don't seem to help me.
    I have the 'simplicity' theme, and I cant get my header image to center
    http://www.DeMontGuitars.com

    can anyone help me with this?

  2. Andrew
    Nuh uh moderator
    Posted 1 year ago #

    Try:

    .logo {
     left: 50%;
    }
    
    .logo img {
     position: relative;
     left: -50%;
    }
  3. DeMontGuitars
    Member
    Posted 1 year ago #

    thank you for the reply Andrew!
    Am I putting this under 'Theme Options -> custom styles'?
    That doesn't seem to work. I think my biggest problem is where and how I'm implementing it.

    i updated with the code you sent, under theme options -> custom styles, and i see no difference from my end . If you have a chance, let me know if it looks any different for you?

  4. Andrew
    Nuh uh moderator
    Posted 1 year ago #

    Did you clear your cache?

  5. DeMontGuitars
    Member
    Posted 1 year ago #

    Andrew, you are awesome.
    I was so confused. I thought I did, but apparently it was not clearing completely because if i check from another computer it works fine. thanks man!

  6. DeMontGuitars
    Member
    Posted 7 months ago #

    Hey Andrew, you were so helpful before I was hoping you might help me out again.
    I'm trying to do the same thing on the page http://www.dev.GuyatoneUS.com and its centered fine, BUT the logo seems to be constrained to a small size and I can't figure out how to let it be 100%
    Do you know the answer to this?

  7. DeMontGuitars
    Member
    Posted 7 months ago #

    I think i've figured it out (as you can seen) but I'm not sure WHY it works the way it does.

Topic Closed

This topic has been closed to new replies.

About this Topic