Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

No mobile Padding with Full-Width-Template using Custom-Content-Max-Width

Home / Forums / Kadence Blocks / No mobile Padding with Full-Width-Template using Custom-Content-Max-Width

This topic is: Not Resolved
[Not Resolved]
Posted in: Kadence Blocks
August 24, 2021 at 12:20 pm

Hi!

To be able to mix boxed and full-width sections I use a full-width template for my wordpress-pages.
So, if I need boxed content I use the KB-option “Custom Content Max Width” for the KB-Row-Layout.

BUT here (without Background –> without the class “.kt-row-has-bg”), there is NO padding for smaller screens in case you are smaller than “Custom Content Max Width”.
Thats why I give a class manually to the Row Layout – for example “has-custom-width”.
Now I can set my css:
.has-custom-width .kt-row-column-wrap {
padding-left: 20px;
padding-right: 20px;
}

Thats working fine for me.
My question: Is it possible for a next version of kadence blocks to give a class like “has-custom-width” by default, if i use the option “Custom Content Max Width”?
So the markup-class would be: class=”wp-block-kadence-rowlayout alignnone has-custom-width”

Thanx!

  • The forum ‘Kadence Blocks’ is closed to new topics and replies.