Okay
  Public Ticket #397640
Default Section Options - Background Colour
Closed

Comments

  • Eric started the conversation

    Hi, I'm trying to create alternative background colours to help segment pages/sections of the website using different background colour under the default section options. Currently you have two colour options to select from; white and light grey. For some reason when I select the light grey option it continues to default to white.

    For example, I would like the about me section to be white and career history to be in the light grey (see attachment).

    Is there something else I need to do to activate the different colour background?

  •  1,973
    Support replied

    Hi there, what;s the site url?

    thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Eric replied

    It's: http://www.ericsteigerwalt.com but the sight is still in maintenance mode and I'm unable to activate for personal reasons.

    I've tried change this in the style options to override the background colour of the page but, had no luck.

    .page_id-496 {background-color:lightgrey}

  •  1,973
    Support replied

    Ok,

    use section id for styling. Inspect element (section) and you will see section id="section_id"

    then you can specify in theme options Styling Options -> Custom CSS


    section#section_id{

    background-color:#f5f5f5;

    }


    thanks


    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Eric replied

    Thanks, you'll have to excuse my ignorance as I'm quite the novice when it comes to code. I've tried what you have suggesed but I have a feeling I'm still not doing this correct.

    Attached is the screen shot of the Custom CSS I'm trying to insert to change the background colour for the page id 496.

    Appreciate if you can further assist with this issue I'm having.

    Cheers

  •  1,973
    Support replied

    Syntax is correct. Section id is something probably you constructed. To get the section is, inspect the element (section) with Chrome and Firefox and you will see section id="whichever id section has in the page"

    thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Eric replied

    Thanks, but I'm pretty sure the section id is correct. Is it possible to double check this for me?

  •  1,973
    Support replied

    Hi, it's not about the page id is about the section id of a section with one-page.

    thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy