-
AuthorPosts
-
December 14, 2022 at 5:44 pm #1376207
Dear Enfold-Team,
in your documentation about the accordion element you are suggesting for reproducing your styles (e.g. accordion style-2) “to copy the shortcode and CSS”:
https://kriesi.at/documentation/enfold/accordion/#toggle-id-67Unfortunately the CSS is not displayed in my browsers, I can only see the shortcode. See screenshot (link below).
What can I do to get the CSS for accordion style-2?
Many thanks and best regards,
PatrickDecember 16, 2022 at 3:29 am #1376325Hi Patrick,
Thanks for pointing it out to us, the documentation should be fixed shortly.
As for the CSS code, you can use this:/*------------------------------------------------ ------------------------------------------------ Accordion style 2 ------------------------------------------------ -------------------------------------------------*/ /* Tab title style */ .av-accordion-style-2 .toggler { font-size: 18px; font-weight: bolder; padding: 10px 15px; text-transform: uppercase; margin: 2px 0; background: #B5DCFD; } .av-accordion-style-2 .activeTitle.toggler:hover, .av-accordion-style-2 .activeTitle.toggler, .av-accordion-style-2 .toggler:hover { color:#FFF; background: #1869FF; } /* Extra content in tab title */ .av-accordion-style-2 .toggler span.extra-content { display: block; clear: both; font-size: 13px; line-height: 1.5em; font-weight: lighter; opacity: .65; padding: 5px 0; text-transform: none; } /* Accordion icon */ .av-accordion-style-2 .toggle_icon:before { position: absolute; font-size: 18px; top:50%; transform: translateY(-50%); left: 0; content:"\e875"; font-family: 'entypo-fontello'; line-height: 0; } /* Active tab icon */ .av-accordion-style-2 .activeTitle .toggle_icon:before { content:"\e873"; font-family: 'entypo-fontello'; } /* Hide default icon */ .av-accordion-style-2 .toggle_icon { border:none; position: absolute; left: auto; right: 20px; } .av-accordion-style-2 .toggle_icon .vert_icon, .av-accordion-style-2 .toggle_icon .hor_icon { display:none; } /*Toggle content area */ .av-accordion-style-2 .toggle_content { background: #ced7df; }
Hope it helps.
Best regards,
NikkoDecember 16, 2022 at 11:48 am #1376388Great, thanks Nikko.
Best regards,
PatrickDecember 16, 2022 at 6:10 pm #1376430Hi Patrick,
We’re glad that we could help :)
Thanks for using Enfold and have a great weekend!Best regards,
Nikko -
AuthorPosts
- The topic ‘Enfold Documentation – Accordion’ is closed to new replies.