-
AuthorPosts
-
February 9, 2022 at 11:57 am #1339776
Dear sir,
I need to style the tab as shown in the screenshot attachedFebruary 10, 2022 at 5:54 am #1339897Hey calcuttadioceseonline,
Thank you for the inquiry.
You can start with the following css code. Just add it in the Quick CSS field or in the child theme’s style.css file.
#top a.av-section-tab-title { color: #ffffff; background: #3561a5; margin-left: 13px; } #top .av-tab-no-icon.av-tab-no-image .av-inner-tab-title { margin-bottom: 0; } #top .av-section-tab-title { padding: 0; } .av-tab-section-inner-container { border-top: 5px solid #3561a5 !important; }
Please make sure to toggle the Performance > File Compression settings after adding the css.
Best regards,
IsmaelFebruary 10, 2022 at 10:37 am #1339932I want tab title to be single line and no arrows
Screen-Short after CSSFebruary 11, 2022 at 8:54 am #1340093Hi,
Thank you for the update.
Where can we check the tab section? Please provide the site URL so that we can inspect the element directly. To learn more about custom css modifications, please check this documentation.
// https://kriesi.at/documentation/enfold/add-custom-css/
Best regards,
IsmaelFebruary 22, 2022 at 7:16 am #1341754Kindly check the tab design
February 23, 2022 at 4:02 am #1341901Hi,
Thank you for the info.
You can add this css code to remove the arrow and center align the title.
#top .av-tab-arrow-container span { display: none; } #top .avia-tab-title-padding-none .av-outer-tab-title { padding: 0 0; position: relative; top: 0; width: 100%; left: -6px; }
If you want to change the style of the active tab, use this css code.
#top .av-tab-section-tab-title-container .av-active-tab-title { color: red; background: black; }
Best regards,
IsmaelMarch 2, 2022 at 11:42 am #1342826Hi,
I would like to do the same thing, i.e. write the tab text in one line.
I inserted the code above but it doesn’t work.#top .avia-tab-title-padding-none .av-outer-tab-title { padding: 0 0; position: relative; top: 0; width: 100%; left: -6px; }
Thank you for your support,
ManuelaMarch 3, 2022 at 5:13 am #1342953 -
AuthorPosts
- You must be logged in to reply to this topic.