Tagged: tab section
I want to resize the layout element Tab Section so that it is not full width. (I’m not talking about the content element Tabs.)
I want it to be the width of a 3/4 column (and to the right of a left sidebar).
I know I can’t put a Tab Section inside a column (that would be nice), but how can I modify the css to make the Tab Section narrower?
Hey jenjo88,
Thank you for the inquiry.
This should be possible with a simple css but we will have to inspect the page or element first. Please apply a custom css class name or ID to the tab section element (documentation below), and post the site URL in the private field.
// https://kriesi.at/documentation/enfold/add-custom-css/
Best regards,
Ismael
Hey jenjo88,
Thank you for the inquiry.
This should be possible with a simple css but we will have to inspect the page or element first. Please apply a custom css class name or ID to the tab section element (documentation below), and post the site URL in the private field.
// https://kriesi.at/documentation/enfold/add-custom-css/
Best regards,
Ismael
Scroll to the bottom of the page and see the full-width Tab Section — id #my-tabs. I want that to be 3/4 width, as the column above. Thanks.
Hi,
Thank you for the info.
You can use this css code to adjust the width of the tab section and align it to the right of the main content container.
.responsive #top #my-tabs {
width: 73.5%;
float: right;
}
Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
Best regards,
Ismael