How to change background color for entire site

Discussion in 'Real Photography WordPress Theme' started by jnconner, Mar 18, 2013.

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

    jnconner New Member

    Joined:
    Mar 13, 2013
    Messages:
    14
    Likes Received:
    0
    Trying to figure out how to change the background color for all pages to one of the background patterns included. Can you provide assistance with this?

    Pattern: 45degreee_fabric
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS


    Code:
    .content-wrapper{
    background:red;
    }
     
  3. jnconner

    jnconner New Member

    Joined:
    Mar 13, 2013
    Messages:
    14
    Likes Received:
    0
    This code will change the background to red, how do I add one of the background patterns?
     
  4. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Paste the following code in your custom css
    Appearance -> Theme Options -> Styling Options -> Custom CSS
    Code:
    .content-wrapper{
    background-color:
    #181407;
    background-image:
    url(http://jquerydoodles.com/lib/img/subtlepatterns/alpha/light/45degreee_fabric.png);
    }
    This will solve your issue.
     
  5. jnconner

    jnconner New Member

    Joined:
    Mar 13, 2013
    Messages:
    14
    Likes Received:
    0
    the color is still off, the textured background is there but its not the correct color. see website and pattern attached.

    Also, can this be applied to the entire site and not just the background?

    Website: http://www.sidneygracephoto.com/
     

    Attached Files:

  6. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Paste the following code in your custom css
    Appearance -> Theme Options -> Styling Options -> Custom CSS
    Code:
    .content-wrapper{
    background-color:
    #fdfcfd;;
    background-image:
    url(http://jquerydoodles.com/lib/img/subtlepatterns/alpha/dark/45degreee_fabric.png);
    }
    If you want it to be in entire site then paste the following code in your custom css
    Code:
    .content-wrapper .main-content {
    background: none;
    }
    This will solve your issue.
     
  7. jnconner

    jnconner New Member

    Joined:
    Mar 13, 2013
    Messages:
    14
    Likes Received:
    0
    This worked! Thanks so much!
     
Thread Status:
Not open for further replies.

Share This Page