Hi, I have added the code to my child-theme function.php file. The Custom CSS Class text box shows up as expected but the Class is actually showing up for the container rather than the element.
Example – I am trying to style a button. If I add the Custom CSS Class to the button any custom CSS takes place on the container holding the button…not the actual button itself as seen here: http://littledigitalagency.com/Client/openfin/test/
I am attempting to change the border color to orange, 1px. I also want to change the font color but it won’t let me.
I have used this in the past but after the update it doesn’t appear to be working properly.
Any ideas?
Slade
Hi Slade!
Thank you for using Enfold.
Please target the correct selector:
.slider-eval-button a.avia-button {
border-color: rgb(254, 100, 46) !important;
}
The purpose of Custom CSS Class is to separate a specific element among other elements. This is disabled by default because everyone who wants to enable it should have at least a little background in html and css. All you need to do is to use the right selectors.
Regards,
Ismael
Thanks for the lesson. You can probably leave the ‘belittling’ at home next time. I’m sure we are all aware of what we know and don’t know.