Nested PB and styling colors
- trogladyte
- Offline Topic Author
- Platinum Member
- Posts: 751
- Thanks: 16
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?
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!
by trogladyte
Please Log in or Create an account to join the conversation.
Hi
this is normal
The css rule is like this :
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
this is normal
The css rule is like this :
this means that it targets all "ui-accordion-header" that are inside the block. If you nest in it, the situation is normal#ID1529703585173 .ui-accordion-header.ui-state-active
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
by ced1870
Please Log in or Create an account to join the conversation.
- trogladyte
- Offline Topic Author
- Platinum Member
- Posts: 751
- Thanks: 16
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!
by trogladyte
Please Log in or Create an account to join the conversation.
Time to create page: 0.658 seconds