• Hi,

    It seems like the mrt20 and mrb20 classes are missing from the full-width-page-builder.
    The content is stuck to the header and the footer compared to other pages and posts, which have a margin of 20px and the top and bottom.

    • This topic was modified 6 years, 4 months ago by gnaxi.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter gnaxi

    (@gnaxi)

    Nevermind, I made a change that caused the issue! ??

    Theme Author Di Themes

    (@dithemes)

    Hi @gnaxi

    Page builder templates does not give top, bottom margin and padding because you can set them using page builder.

    Thanks

    Thread Starter gnaxi

    (@gnaxi)

    Hi,

    Thank you for the quick reply!
    You’re not able to set the margin of the content box using Page Builder, at least not the free version.
    I’ve created a new template by making a copy of template-full-width-page-builder.php and called it template-full-width-page-builder2.php

    This template is now found when creating a page.
    However, with this template the CSS values mrt20 and mrb20 are not used and the content box sticks to the header and footer.
    I’ve yet to find a way to solve it.

    Thread Starter gnaxi

    (@gnaxi)

    This is how it looks like on template-full-width-page-builder.php:
    <div id=”maincontainer” class=”container-fluid mrt20 mrb20 clearfix maincontainer”>

    And with the template that I copied template-full-width-page-builder2.php:
    <div id=”maincontainer” class=”container-fluid clearfix maincontainer”>

    As you can see, mrt20 and mrb20 are clearly lost in the process.

    Theme Author Di Themes

    (@dithemes)

    Hi @gnaxi

    If you want to give margin top and bottom, then you can use default template instead page builder template.

    Also you can use child theme and modify files accordingly.

    Thanks

    Thread Starter gnaxi

    (@gnaxi)

    But shouldn’t the mrt20 and mrb20 classes be transferred as well, when making a copy of template-full-width-page-builder.php and giving it another name?

    Thread Starter gnaxi

    (@gnaxi)

    Any suggestions?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Missing css class’ is closed to new replies.