Logo not centered in mobile theme

Discussion in 'RoadFighter WordPress Theme' started by dmedia, May 1, 2016.

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

    dmedia Member

    Joined:
    Dec 6, 2013
    Messages:
    164
    Likes Received:
    4
    http://psi.dmediasites.com/
    Hi! I made the logo larger than was recommended (200px width x 50px height). Client likes that larger size. But now the logo is not centered in mobile vertical view. When I rotate the mobile device to be horizontal the logo does center. Is there a way to fix it so it will center in vertical orientation also?
     
  2. priya

    priya Guest

    Hello,

    Greetings from InkThemes!

    Please paste the code given below in Custom CSS section (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.
    Code:
    @media only screen and (max-width: 320px){
    .header_wrapper .logo img {
        width: 72%;
        margin-left: -71px;
    }
    }
    @media only screen and (max-width: 480px){
    .header_wrapper .logo img {
        margin-left: -62px;
    }
    }
    Note: Change the numeric value as per your requirement..

    Hope it will resolve your issue

    Do let me know if you need more assistance,

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  3. dmedia

    dmedia Member

    Joined:
    Dec 6, 2013
    Messages:
    164
    Likes Received:
    4
    This worked great! Thank you so much Priyanka!
     
  4. priya

    priya Guest

    You're welcome..:)

    Do let me know if you need more assistance,

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
Thread Status:
Not open for further replies.

Share This Page