Hello, what are the style names for the special header elements?
I need to setup some custom styles for 2 different special header
and want to effect the colors for the header and sub header in different colors
So I need to add 2 css classes to the custom css,
thank you
Hey OhYa1337,
You can turn on the custom CSS class option: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#turn-on-custom-css-class-field-for-all-alb-elements. Then assign classes to your elements to style them differently.
Best regards,
Rikard
im talking about the element “Special Header”
it has 2 parts, the Main Header & a Sub Heading
I would like to change them to 2 different colors & styles
and since there is only 1 custom class tag, im not sure how to change both areas?
Hi,
I’m not sure I understand what you are referring to, the Special Heading element doesn’t have a sub heading option. Could you try to explain a bit further please?
Best regards,
Rikard
Yes, actually it does
http://prntscr.com/m3ybcb
:)
Hi,
Yes if you select one of the other styles which is not default, but the process is the same. Assign a class to it then target the element using something like this:
.your-class .av-subheading {
your CSS goes here
}
If you want to write CSS then you need to learn how to inspect the code and follow the DOM tree.
Best regards,
Rikard
Ya, thats what I had, so with you confirming it was correct I realized I needed to add !important; after the color & its working now.
Thanks