-
Author
-
June 9, 2017 at 20:00 #163864carlostincaParticipant
Hi!
I want to change the color of the first accordion of Visual Composer. How can i select it?
Thanks!,
Carlos
June 12, 2017 at 07:14 #164001LauraModeratorHello, you can add a class to the first one and use css like this:
COPY CODE.YOURCLASSNAME .panel-heading { background:red !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
June 12, 2017 at 18:56 #164066carlostincaParticipantHi Laura,
Got it, but individual tabs cant have css class (im using Kleo Accordion). So i have to add it to the Kleo Accordion element, but how can i target via css the first one?
Thanks!
CarlosJune 13, 2017 at 18:29 #164191LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
June 15, 2017 at 19:47 #164359RaduModeratorHi,
Just use this CSS
COPY CODE.panel-kleo .panel:nth-of-type(1) { background-color: red; }
The CSS will be added to wp-admin -> theme options -> general settings -> quick CSS
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 16, 2017 at 21:49 #164467carlostincaParticipantHi Radu,
Thanks, that helped. But we have an extra problem, that would fill the color of all accordion’s first tab in a page, is there a way to paint only the first tab of a specific accordion’
Thanks again for your help!
CarlosJune 19, 2017 at 17:30 #164639RaduModeratorIf you will add a class to the row that contains that or if you add a specific class to the accordion you will have to modify the CSS selector by adding as prefix the class name.
Example
COPY CODE.firstcolored .panel-kleo .panel:nth-of-type(1) { background-color: red; }
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.