Logo Size on Mobile

Discussion in 'Blackriders WordPress Theme' started by cvin, Oct 23, 2013.

  1. cvin

    cvin New Member

    Joined:
    Aug 30, 2013
    Messages:
    14
    Likes Received:
    0
  2. 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:
    .logo img {
    width: 100%;
    }
     
  3. cvin

    cvin New Member

    Joined:
    Aug 30, 2013
    Messages:
    14
    Likes Received:
    0
    It seemed to work on mobile, but now my logo is distorted on the homepage. Any idea how I can prevent the image from enlarging on the web?
     
  4. Gourav

    Gourav Support Staff

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

    Undo your old customization and Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    @media only screen and (max-width: 767px) and (min-width: 480px){
    .logo img {
    width: 96%;
    }
    }
    @media only screen and (max-width: 480px){
    .logo img {
    width: 96%;
    }
    }
    
    Adjust its value as per your requirements.
     

Share This Page