Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #356060

    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

    #356231

    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

    #356612

    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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Custom CSS Class in ALB Elements is not working as expected’ is closed to new replies.