WordPress.org

Forums

Sporty
[resolved] logo image - need it to sytay centered (12 posts)

  1. raventx
    Member
    Posted 1 year ago #

    Hate to bother you again Ossie.... been trying to resolve this and find a solution on my own for days now, without luck.

    How would one keep the site-logo centered in this theme? I notice that it stays centered when the browser window is made smaller and on smartphone screens, however when on a larger browser screen it is staying toward the left.

    I appreciate your input on this.

    Thanks!!!

  2. Andrew
    Forum moderator & snail smusher
    Posted 1 year ago #

    Do you know where to put this CSS:

    .site-logo { text-align: center; }
  3. raventx
    Member
    Posted 1 year ago #

    That doesn't seem to work.

  4. raventx
    Member
    Posted 1 year ago #

  5. raventx
    Member
    Posted 1 year ago #

    I think I found the solution....

    .site-logo {
    min-height: 70px;
    display: table;
    padding-top: 20px;
    background-color: #FFF;
    margin: 0 auto;

    }

    (added display: table;)

  6. Template Express
    Member
    Theme Author

    Posted 1 year ago #

    I would have offered same advice as Andrew but happy you managed to get it fixed raventx

  7. raventx
    Member
    Posted 1 year ago #

    Well here is a funny thing.... it is centered in firefox, and Safari, but not in IE 8... hmm maybe I will try IE9 and hope that works. If not... suggestions?

    Thanks!!!!

  8. Andrew
    Forum moderator & snail smusher
    Posted 1 year ago #

    display: table; isn't supported in IE8.

  9. Andrew
    Forum moderator & snail smusher
    Posted 1 year ago #

    Can you add the text align again? So that we can debug why it hasn't worked.

  10. raventx
    Member
    Posted 1 year ago #

    I upgraded the browser to IE9 - I am usually on my work machine M-F which had IE8. Still shows the logo off to the left. Was hoping that it would be different.

    I will add the text align and see.

    Thanks for the help on this. I know it has to be something simple I am missing, but after staring at CSS code for so long the past week, I'm getting tunnel vision probably. LOL

  11. raventx
    Member
    Posted 1 year ago #

    Okay that looks to have worked... lemme check the other browsers.

  12. raventx
    Member
    Posted 1 year ago #

    Okay for some reason that worked this time! WEIRD! I don't get it. I guess as long as it works, why wonder? LOL

    Thank you again!!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic