"Fixing" a Tiling Background to remain static

Discussion in 'Squirrel WordPress Theme' started by sharenasw, Jun 10, 2013.

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

    sharenasw New Member

    Joined:
    Jun 4, 2013
    Messages:
    3
    Likes Received:
    0
    I purchased the Professional Squirrel Theme. I'm having a hard time editing the .css so that the background remains static. I have very long pages where the vertical repeat does not look right. http://anaheimuk.com/Wordpress/wastemaid-elite/faqs/ I just want the content to scroll while the background remains in place.

    I've tried several things. Last config:
    body {
    font-family:"Trebuchet MS";
    font-size:14px;
    color:#4d4d4d;
    background:url(images/pattern-image.png);
    background-repeat: repeat-y;
    background-attachment:fixed;
    }
     
  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:
    body {
    background-attachment:fixed!important;
    }
    This will solve your issue.
     
  3. sharenasw

    sharenasw New Member

    Joined:
    Jun 4, 2013
    Messages:
    3
    Likes Received:
    0
    Perfection! Thank you.
     
Thread Status:
Not open for further replies.

Share This Page