Okay
  Public Ticket #1025695
Project background color
Closed

Comments

  •  2
    Sanne started the conversation

    Hi, one last question -

    I saw that this one was posted by someone else before here https://clapat.ticksy.com/ticket/882360/ but the answer didn't help me entirely yet:

    I've set the background color for several rows in VC but they don't show on the front-end. The background color can be the same in every project so I tried this css but didnt work: 

    .project-page { background-color: #f7f7f7 !important; }

    I just read in your reply to "try adding the styles of each page in theme options -> styling options -> custom css if you use ajax instead of using Visual Composer row's settings. each page has an unique class generated out of their page ids in included in <body> so you can use that as selector"

    Could you walk me through the css a bit more specifically? It's not clear to me what to address exactly. 

    Thank you very much,

    Sanne

  •  1,794
    Support replied

    Hello,

    send us wp admin username and password in a private comment so we can show you and example.

    Also the name of the project page

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •   Sanne replied privately
  •  1,794
    Support replied

    Take for example Truckit (which I modified as an example)

    For every row, you can edit it and assign a background color in Design Options

    then if you go in Classic Mode -> Text

    you will see 

    .vc_custom_1484867125729{background-color: #f2f2f2 !important;}

    copy it

    then open a raw html component at the end of the page and paste it inside of a ...

    do this for every row you modify. that's all

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •  2
    Sanne replied

    Great, it works perfectly. Thank you for the help!

    A question related to this: how would you do it if you want to do a video background?

    So I want to create a separate page (not a portfolio item) that begins with some content with a video on the background. In VC there is the option to use video background but then it doesn't show up. Is there some html I need to add? I tried experimenting a bit but wasn't able to get it right. I created a page called 'intro' if you want to have a look. 

    Thanks a lot,

    Sanne

  •  1,794
    Support replied

    You should add a youtube link and not the self hosted url

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •  2
    Sanne replied

    Sorry - my mistake!