Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

Nested PB and styling colors

More
8 years 5 months ago #48731 by trogladyte
Never done this before I guess... :-)

www.ckdev.info/chandler/index.php?option...icle&id=3&Itemid=128

So I made a regular Joomla article, then turned it into a PB article. Added a row with Accordions in it. In the PB component I made a number of pages. In the first article I inserted these pages.

Then I began styling. What I found was that all the nested pages took the styling from the top Accordion regardless of what I set in them. Is this expected behavior?

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #48734 by ced1870
Hi
this is normal
The css rule is like this :

#ID1529703585173 .ui-accordion-header.ui-state-active

this means that it targets all "ui-accordion-header" that are inside the block. If you nest in it, the situation is normal :)

for the fact that you are trying to give a different color in the nested ones and that it does not work, I see in the code that the CSS of the nested ones are loaded before the parent ones, so they are less important.

unfortunately, I will not have the time to look at this in the next week ...
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #48736 by trogladyte
OK that makes sense. Don't waste time on it on my account. Was just wondering.

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Please Log in or Create an account to join the conversation.

Time to create page: 0.194 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 708 guests and no members online