Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1091972

    Hello everyone,

    First of all, thank you for all the work you’ve done !
    I’m trying to do something a bit special :
    I want to split my background in two different colors on the whole site.
    You can see what i’m looking for on that link :
    https://drive.google.com/open?id=1HohDhTAao7ZN_UHtqgpKhiClxbWfMfCo

    • This topic was modified 5 years, 10 months ago by bastok2.
    #1092279

    Hey bastok2,

    You could try to add a div just after the body tag, then place it absolutely. Something like this:

    <div id="white-layer"></div>

    Then the style:

    #white-layer {
      position:absolute;
      right:0;
      width:50%;
      height:100vh;
    }

    Best regards,
    Rikard

    • This reply was modified 5 years, 10 months ago by Rikard.
    #1092375

    Thank you Rickard,

    Where can i find the body tag ?
    Can i do this in the quick css or do i need to edit some php file ?

    #1092598

    Hi,

    You can find that in header.php, simply copy it to your child theme and add the markup you want in there.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.