Header Background Mobile View

Discussion in 'Slice WordPress Theme' started by ltuggs, Aug 27, 2013.

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

    ltuggs Member

    Joined:
    Jul 18, 2012
    Messages:
    30
    Likes Received:
    0
    Hello,
    I added a background image to my .header-container
    and it's not displaying properly on mobile phone.
    What's the best way to have this background display correctly
    on mobile phone and desktop?
    Please advise.
    Thanks
     
  2. Gourav

    Gourav Support Staff

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

    Do let us know your website link.
     
  3. 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:
    .header-container {
    width:100%;
    background-size: 100% 100%;
    }
    
    This will solve your issue.
     
  4. ltuggs

    ltuggs Member

    Joined:
    Jul 18, 2012
    Messages:
    30
    Likes Received:
    0
    It worked! Thank you very much!:)
     
Thread Status:
Not open for further replies.

Share This Page