-
AuthorPosts
-
December 11, 2025 at 10:02 pm #1492433
I am using a tab section on my website, but after 6 tabs or so, I want the tabs to start on a new row and not go to the edge of the page.
December 12, 2025 at 8:14 am #1492451Hey amyncuih,
Thank you for the inquiry.
You can use this css code to limit the tab section title row to a maximum of 6 items.
#top .av-tab-section-tab-title-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; } #top .av-tab-section-tab-title-container > * { flex: 0 0 calc((100% / 6) - (10px * 5 / 6)); max-width: calc((1310px - (10px * 5)) / 6); box-sizing: border-box; }Best regards,
IsmaelDecember 16, 2025 at 8:56 pm #1492576I have many tab sections on my site. How can I limit the tabs by individual tab sections on different pages?
December 17, 2025 at 8:15 am #1492591Hi,
Thank you for the update.
You can apply a custom css class (e.g “av-tab-section-title-limit”) to the tab sections where you need the modifications, then adjust the selectors in the css rules accordingly. Please check this documentation for more information on how to apply custom css class names to the elements.
— https://kriesi.at/documentation/enfold/add-custom-css/
#top .av-tab-section-title-limit .av-tab-section-tab-title-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; } #top .av-tab-section-title-limit .av-tab-section-tab-title-container > * { flex: 0 0 calc((100% / 6) - (10px * 5 / 6)); max-width: calc((1310px - (10px * 5)) / 6); box-sizing: border-box; }Best regards,
IsmaelMarch 13, 2026 at 11:38 am #1495985Hi Ismael
I have a similar problem as I have 16 tabs and they are not showing right (see link in private).
As the tab names are only letters, the tabs can be very small and in more rows if needed. Still needs to be responsive ;)
Hope you can help me?
Kind Regards
AndreasMarch 16, 2026 at 6:19 am #1496049Hey hegartpetersen,
Thank you for the update.
If you prefer wrapping the title container into multiple rows, please try to add this css code:
#top .av-tabs-scrollable .av-tab-section-outer-container { overflow: visible; } #top .av-tabs-scrollable .av-tab-section-tab-title-container { display: flex !important; flex-wrap: wrap; justify-content: center; min-width: unset !important; left: 0 !important; white-space: normal; } #top .av-tabs-scrollable .av-section-tab-title { flex: 0 0 auto; }Note that this will hide the arrow indicator beneath the active tab since it depends on the container’s positioning logic. Please refer to the documentation on adding custom css classes to elements:
— https://kriesi.at/documentation/enfold/add-custom-css/
Let us know the result.
Best regards,
IsmaelMarch 16, 2026 at 11:13 am #1496054Hm… didnt seem to have any effect. Anyways – found another workable solution ;)
March 16, 2026 at 9:17 pm #1496082Hi,
Glad that you have this sorted out now, if you have further questions please open a new thread and we will try to help. Thanks for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘How to make two rows for tabs section?’ is closed to new replies.
