Support » Theme: Page Builder Framework » Default padding top & bottom

  • Resolved pixelude

    (@pixelude)


    Hi. I have a question about the default padding. There is a div with id inner-content and a class wpbf-padding-medium. This has default 40px top and bottom padding. Is there a setting in the Theme where i can change this? Or do i have to so to 0 in css? Because i want a fullscreen slider with no paddings. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author David Vongries

    (@davidvongries)

    Hi @pixelude,

    In that case, you’d want to set the page/post to full width. That will remove the inner-content wrapper for you 🙂

    https://wp-pagebuilderframework.com/docs/hide-page-titles-full-width-pages/

    Best,
    David

    If you select transparent header + hide page title then there is still a 40px padding-top and padding-bottom which comes from the wpbf-padding-medium selector.

    to remove the padding, just add this to your style.css

    .wpbf-padding-medium {
    padding-top: 0px;
    padding-bottom: 0px;
    }

    done.

    Theme Author David Vongries

    (@davidvongries)

    Hi @guidonhcolcombr,

    you’re right. Only the full-width setting will remove the padding and set the page to full width. Thought this was what @pixelude was looking for as he mentioned a full-screen slider 🙂

    the code above may affect other elements in the theme. I’d suggest this:

    #inner-content.wpbf-padding-medium {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    Best,
    David

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Default padding top & bottom’ is closed to new replies.