How can i make the background image responive

Discussion in 'Cloriato WordPress Theme' started by dannyschrijvershof, Dec 19, 2013.

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

    dannyschrijvershof New Member

    Joined:
    Feb 25, 2013
    Messages:
    4
    Likes Received:
    0
    Hello

    How can i make the background image responsive.

    www.vitagro.nl
    Danny
     
  2. Gourav

    Gourav Support Staff

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

    Firstly go to Appearance > Theme Option > General Settings > Body Background Image

    and remove image from there.

    Now,

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

    Code:
    html, body {
    background: url(http://www.vitagro.nl/wp-content/uploads/2013/12/P8230125.jpg) no-repeat center center fixed;
    background-size:100% 100%;
    } 

    This will solve your issue.
     
  3. dannyschrijvershof

    dannyschrijvershof New Member

    Joined:
    Feb 25, 2013
    Messages:
    4
    Likes Received:
    0
    Thanks

    Works perfect
     
Thread Status:
Not open for further replies.

Share This Page