Changing the background colour - 'Real Photography WordPress Theme

Discussion in 'Real Photography WordPress Theme' started by robcao12345, Nov 9, 2012.

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

    robcao12345 New Member

    Joined:
    Aug 9, 2012
    Messages:
    7
    Likes Received:
    0
    Hi there,

    I may be missing something but having looked through the old and new forums I haven't been able to change the background colour from either the white or black defaults for Real Photography using the custom css option.

    Any advice would be appreciated as always.

    Many thanks

    Rob
     
  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: blue;
    }
     
  3. robcao12345

    robcao12345 New Member

    Joined:
    Aug 9, 2012
    Messages:
    7
    Likes Received:
    0
    Thank you, this has worked perfectly - how to I do the same for multiple elements of the site?

    I've used both:

    .container {
    background: #F70077;
    }

    and

    .content-wrapper {
    background: #F70077;
    }

    individually and they worked individually but adding both codes to the custom CSS at the same time only the code which is inputted first seems to work...?

    I basically want to effect/change the background colour of the whole site.

    Many thanks as always

    Rob
     
  4. 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:#F70077;;
    }
    .content-wrapper .main-content {
    background: #F70077;
    }
    This will solve your issue.
     
  5. robcao12345

    robcao12345 New Member

    Joined:
    Aug 9, 2012
    Messages:
    7
    Likes Received:
    0
    Perfect - thank you
     
Thread Status:
Not open for further replies.

Share This Page