-
AuthorPosts
-
March 8, 2016 at 9:46 pm #595189
I’d like to do a transparent color block behind some Special Heading text on one specific section. I found a thread with the following code:
.page-id-4996 .av-special-heading .av-special-heading-tag {
padding: 10px !important;
background-color: red !important;
}But as mentioned I do need it to be transparent. I also want it to wrap the text rather than stretch the full width (right now the color block extends the width of the page). I also don’t want it to apply to all Special Headings on the page, just one section in particular.
Essentially, I have a Color Section where I’d like the Special Heading to look like the options provided in the Full Screen Slider with the Center Framed option.
Hope that makes sense and thanks in advance!
March 8, 2016 at 11:02 pm #595227Hi kellymarie2001!
if you want it to be transparent use this code instead:
.page-id-4996 .av-special-heading .av-special-heading-tag { padding: 10px !important; background: rgba(0,0,0,0.4) !important; }
and adjust as needed.
Regards,
AndyMarch 8, 2016 at 11:13 pm #595231Hi Andy,
Thank you! This only resolves the transparency request, however. The other items I inquired about are as follows:
– Wrap the text rather than stretch the full width (right now the color block extends the width of the page).
– I also don’t want it to apply to all Special Headings on the page, just one color section in particular.Essentially, I have a Color Section where I’d like the Special Heading to look like the options provided in the Full Screen Slider with the Center Framed option.
March 9, 2016 at 12:01 pm #595487Hi!
1.) A color section will always be fullwidth by default. You can use a layout element instead.
2.) Check out this: kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
Cheers!
AndyMarch 10, 2016 at 1:02 am #595988Hi Andy,
I don’t think we’re on the same page… The box of color behind the text (not a Color Section) we have added to the headers are what is stretching across the page.
I’ll check out that Custom Class.
Thanks!
March 10, 2016 at 4:23 pm #596340Hey!
can you send us a precise link and screenshots highlighting what you mean please? you can use imgur.com or dropbox.
Cheers!
Andy -
AuthorPosts
- You must be logged in to reply to this topic.