Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #29512

    I am using the layout builder on most of my pages but would like to customize the padding between each element customized to each page. Here is an example page:

    http://dev.atlasdie.com/why-atlas/

    On this page, I would like to reduce the padding between the slider and the text box at the top. Also I would like to change the padding between the images and text boxes on the rest of the page. Is it possible to get some generic code that I could work with? I do not want these to be site-wide changes.

    Thank you!

    #140855

    Hi,

    Please try adding following code to Quick CSS in Enfold theme options under Styling

    body#top.page-id-2627.content { padding-top: 30px; }

    .page-id-2627 div.avia_textblock {margin-left: -30px;}

    Regards,

    Yigit

    #140856

    I added the code and nothing changed. Any idea what I am doing wrong??

    #140857

    Hi,

    Can you try the same code with !important

    body#top.page-id-2627.content { padding-top: 30px!important; }

    .page-id-2627 div.avia_textblock {margin-left: -30px!important;}

    Regards,

    Yigit

    #162294

    This worked – thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Padding in Layout Builder’ is closed to new replies.