Kunena Menu
Nested PB and styling colors
- trogladyte
- Topic Author
- Offline
- Platinum Member
-
8 years 5 months ago #48731
by trogladyte
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Nested PB and styling colors was created 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?
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.
8 years 5 months ago #48734
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Nested PB and styling colors
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
Please Log in or Create an account to join the conversation.
- trogladyte
- Topic Author
- Offline
- Platinum Member
-
8 years 5 months ago #48736
by trogladyte
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Replied by trogladyte on topic Nested PB and styling colors
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





