Hi Kriesi Team,
I’d like to add a grey background color to my headline on the top teaser text of my website. It should be just as long as the text is, not the complete box width – see screenshot.
Here a scribble:
Thank you for your help :-)
Oliver
Hey Oliver,
Please try the following in Quick CSS under Enfold->General Styling:
.home #av_section_1 .av-special-heading-tag {
display:inline-block;
}
.home #av_section_1 .av-subheading p {
display:inline-block;
background-color: #666666;
}
Best regards,
Rikard
Hi Rikard,
thank you very much for your help!
I adapted your code. The second part word (sub headline) but the first (heading) didn’t work.
That’s the css how it perfectly works :-)
.home .av-special-heading-tag {
display:inline-block;
background-color: #666666;
}
.home #av_section_1 .av-subheading p {
display:inline-block;
background-color: #666666;
}
Best regards,
Oliver
Hi,
Great, glad you got it working and thanks for sharing your solution :-)
Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Hi Rikard,
you can close the ticket.
Thank you very much for your support! :-)
Best regards,
Oliver
Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon