Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #634580

    Hi
    I have used the ‘Color section with 100% container’ info to create 100% width of columns in a colour section, but I also want to lose the margin at the top so columns start from top when transparent header is on. The link below shows what I mean, I want the sections to start from the top. What CSS do I need for this?

    many thanks

    Peter

    #634921

    Hey envapk2,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    
    
    .html_header_transparency #top .avia-builder-el-0 .container {
         padding-top: 0!important; 
    }
    

    Best regards,
    Vinay

    #635109

    Hi Vinay

    That works perfectly.

    many thanks

    Peter

    #635231

    Sorry, one more thing. How can I target certain pages with this? I tried putting .page-id-149 in front but it didn’t work.

    many thanks

    Peter

    #635235

    Hey!

    Please try using

    
    .html_header_transparency #top.page-id-149 .avia-builder-el-0 .container {
         padding-top: 0!important; 
    }

    Regards,
    Yigit

    #635241

    Thanks Yigit, that works.

    Peter

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Color section -lose top margin’ is closed to new replies.