Search
Other Extension Manager questions
Forum

Colors of Accordions

Jonas Messmer's Avatar Jonas Messmer
Hello dear community:
I have the following problem: I want to add Accordions to my website, created with Joomla. Accordions that look modern, not like from the 18th century (if you know what I mean 🙂 ) I got the Tabs& Accordions Pro version for this.
I would like to have a code in the post itself that allows this and not use the CSS. I would like to have Pills Color, as seen in the picture attached, and have seen that I can do this in the post Per CMS Content. But that doesn't work for me.
The Accordions have no color, as you can see in the picture in the attachment.
I would like the tile/tabs to be filled with colors already.
The code writing does not work for me so far, I have kept to the styling website, but somehow I'm doing something wrong.

Could someone please write me a code where you have the pills color and can determine them? Thank you very much and many sunny greetings, Jonas 🙂

Peter van Westen's Avatar Peter van Westen ADMIN
The code is probably fine. Issue is most probably that the required stylesheet is not getting loaded for some reason.
Do you have this online so I can take a look?
Please post a rating at the Joomla! Extensions Directory
Jonas Messmer's Avatar Jonas Messmer
Hi, thank you for your time 🙂
I unfortunately can not upoald the website, because it is a project that can not be released earlier.Could it be a code problem? I want to have tabs that are colored in advance, before I click on the tab. The styling information page says it is possible. I have a question: can someone write a short code for pills color, that I could use and try, because it would be so much easier for me. I tried it with the CMS content in joomlas content edit. The code is:

{accordion title="Definition" theme="pills-dark" color-panels="true" open="false"}
Hier steht die Definition
{accordion title="Kurzbeschreibung" theme="pills-dark" color-panels="true" open="false"}
Hier ist die Kurzbeschreibung 🙂
{/accordions}

Unfortunately, it doesn't work. Only one accordion is shown, without a color before. Only when I click on it. And the other accordion doesn't show up.
I would be really happy for help.

Thank you so much,

Jonas 🙂
Peter van Westen's Avatar Peter van Westen ADMIN
The theme and other settings are for the whole tabs/accordions set. So should only be set in the first tag.
As can be read here: docs4.regularlabs.com/tabsaccordions/the...style-colored-panels

Then give each accordion the color you want it to be.

So something like:
{rl_accordion title="Definition" theme="Pills Dark" color-panels="true" open="false" color="red"}
Hier steht die Definition
{rl_accordion title="Kurzbeschreibung" color="green"}
Hier ist die Kurzbeschreibung 🙂
{/rl_accordions}

In the examples you can see what the tab (or accordion) looks like when setting no color. So that first "None" tab.

Please post a rating at the Joomla! Extensions Directory
You can only post on this forum if you log in