center logo

Discussion in 'Woodpecker WordPress Business Theme' started by bopomofo, Apr 5, 2014.

Thread Status:
Not open for further replies.
  1. bopomofo

    bopomofo New Member

    Joined:
    Apr 25, 2013
    Messages:
    16
    Likes Received:
    0
    Hi Guys,

    Is there a way to centre the logo in the header?
     
  2. bopomofo

    bopomofo New Member

    Joined:
    Apr 25, 2013
    Messages:
    16
    Likes Received:
    0
    Sorry forgot to mention I had worked out how to do this from a previous post.

    The problem was when I added the custom CSS it did centre the logo although it did not resize well when the site was viewed on a mobile devise (half logo off screen).

    Will this always happen if logo is centered?
     
  3. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Do let us know your website link.

    Thanks & Regards
    Gourav Shrivastava
     
  4. bopomofo

    bopomofo New Member

    Joined:
    Apr 25, 2013
    Messages:
    16
    Likes Received:
    0
    the site is www.eastlabourhire.info

    Custom CSS used is:
    #logo {
    float: right;
    margin-right: -175px;
    }}
    #logo {
    padding-top: 5px;
    padding-bottom: 0px;
    }
    #logo img {
    vertical-align: bottom;
    }
     
  5. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,


    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
     @media (max-width: 767px){
    #logo {
    float: none;
    margin-right: -5px;
    }
    }

    Thanks & Regards
    Gourav Shrivastava
     
  6. bopomofo

    bopomofo New Member

    Joined:
    Apr 25, 2013
    Messages:
    16
    Likes Received:
    0
    Thanks Gourav, that fixed it.
     
Thread Status:
Not open for further replies.

Share This Page