Hi,
I would like to modify the colour of a few panel headers of the accordion and not all for a particular widget on this webpage:
https://indofrenchhub.com/learnfrenchonline
I tried using SiteOrigin Custom CSS to modify the colours, however, it did not change them, although I see the code in the window… Please advise
#accordion-label-dalf-c1-crash-course-sara-azevedo-rodriguez-35h-next-batch-starts-02-may-2022.sow-accordion-panel-header {
background-color: #0095ff;
}
#accordion-label-dalf-c1-preparatory-eco-course-vincent-bouen-10h-next-batch-starts-05-may-2022.sow-accordion-panel-header {
background-color: #0095ff;
}
#accordion-label-delf-b2-crash-course-sara-azevedo-rodriguez-35h-next-batch-starts-02-may-2022.sow-accordion-panel-header {
background-color: #0095ff;
}
#accordion-label-delf-b2-preparatory-eco-course-vincent-bouen-10h-next-batch-starts-04-may-2022.sow-accordion-panel-header {
background-color: #0095ff;
}
#accordion-label-delf-b1-preparatory-eco-course-vincent-bouen-10h-next-batch-starts-03-may-2022.sow-accordion-panel-header {
background-color: #0095ff;
}
Hi Tushar
Thanks for reaching out.
We, unfortunately, aren’t able to assist with Custom CSS adjustments within our free support scope. We do our best with the resources we have.
The Custom CSS you’ve posted above uses blue for all header backgrounds, the same blue already in use on the page. When adjusting the background color in SiteOrigin CSS, did you select a background color other than blue?
Hi Andrew,
Yes, it was earlier set to the default grey colour when I posted the message, and subsequently changed it to blue (#0095ff ).
However, my query is how to change the colour of just a few panels and not the entire set.
I would really appreciate your help in this – thanks…
#accordion-label-dalf-c1-crash-course-sara-azevedo-rodriguez-35h-next-batch-starts-02-may-2022.sow-accordion-panel-header {
background-color: #e2007e; !important;
}
#accordion-label-dalf-c1-preparatory-eco-course-vincent-bouen-10h-next-batch-starts-05-may-2022.sow-accordion-panel-header {
background-color: #e2007e; !important
}
#accordion-label-delf-b2-crash-course-sara-azevedo-rodriguez-35h-next-batch-starts-02-may-2022.sow-accordion-panel-header {
background-color: #e2007e; !important
}
#accordion-label-delf-b2-preparatory-eco-course-vincent-bouen-10h-next-batch-starts-04-may-2022.sow-accordion-panel-header {
background-color: #e2007e; !important
}
#accordion-label-delf-b1-preparatory-eco-course-vincent-bouen-10h-next-batch-starts-03-may-2022.sow-accordion-panel-header {
background-color: #e2007e; !important
}
Thanks for the update.
Each of the above rules targets a specific heading. If you change the color value of one of the rules, the heading of the rule it targets will change.
Yes Andrew, Thats what I am trying to achieve, but it is not getting displayed with the colour set on the CSS … see the webpage, they all appear blue
https://indofrenchhub.com/learnfrenchonline
Hi Tushar
Thanks for your reply.
Please, disable CSS aggregation so I can take a look. If you’re using a caching plugin, please, clear it.
Kind regards
Andrew
Hi Andrew
Sorry – not sure how to disable CSS aggregation, please guide…
Hi Tushar
All of your CSS produced by your theme and plugins is combined into a single file. A performance/caching plugin is most likely doing that.
Hi Andrew,
Hummingbird plugin by the hosting service provider is installed for the website’s optimisation. Have cleared the cache on that.
Thanks for the update. One of the Accordion headings is now a different color.
Hi Andrew, yes, I noticed that :-)
Had pasted the same code in CSS for the other 4 panels, but their colour hasn’t changed.
Is it still a caching issue, you think?
Also, if you could help me with the code to set a colour when the mouse hovers over it?
Appreciating all your support
Unfortunately, we’re unable to offer direct Custom CSS assistance within our free support scope. We do our best with limited resources.
Had pasted the same code in CSS for the other 4 panels, but their colour hasn’t changed.
I can take a look at why this happening. Please, deactivate CSS aggregation/combination.
Noted – have deactivated the Hummingbird plugin now
The individual setting for CSS combination are probably found in the following section: https://wpmudev.com/docs/wpmu-dev-plugins/hummingbird/#asset-optimization.
There are other headings with a different background color now visible.
Thank you, Andrew – its looking all good now.
Glad to hear you’re making progress. All the best with your site.
Kind regards
Andrew