Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #896136
    mondobongomoses
    Participant

    I think I know the CSS I need to do it, but how do I find the section id or class that I need to apply it to?

    I would like to add opacity to the background header/hero image, and the background image for the “services” section.

    I searched around, but it looks like everyones sections are different.

    here is the page I am referencing above. http://dev-iconicontent.pantheonsite.io

    Thank you, yet again!

    #897156
    Christopher
    Moderator

    Hi there,

    Please add following code in cornerstone settings tab/custom css :

    div#x-section-1:before, div#x-section-5:before {
        content: " ";
        position: absolute;
        right: 0;
        left: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        display: block;
        background-color: rgba(255,255,255,0.5);
    }
    div#x-section-1, div#x-section-5 {
        position: relative;
    }

    Hope it helps.

    #977969
    mondobongomoses
    Participant

    That worked! Thank you!!!

    However, it changed the background color of this page – edit

    How would I go about getting that back to the normal white background, while not losing the changes on the homepage? I tried editing the page in cornerstone and setting the background of the page as white, but that didnt work…

    #978095
    John Ezra
    Member

    Hi there,

    Thanks for updating the thread! Please add .home selector in front of the previous CSS snippets provided to limit it to the home page.

    .home div#x-section-1:before, div#x-section-5:before {
        content: " ";
        position: absolute;
        right: 0;
        left: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        display: block;
        background-color: rgba(255,255,255,0.5);
    }
    .home div#x-section-1, div#x-section-5 {
        position: relative;
    }

    Hope this helps – thanks!

    #978229
    mondobongomoses
    Participant

    That worked perfectly. Thank you!!!

    #978369
    Rue Nel
    Moderator

    You’re welcome!
    We’re glad we were able to help you out.

  • <script> jQuery(function($){ $("#no-reply-896136 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>