Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1029858

    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:
    Screenshot

    Thank you for your help :-)
    Oliver

    #1030188

    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

    #1030328

    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

    • This reply was modified 5 years, 5 months ago by xmpublishing.
    #1030710

    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

    #1030733

    Hi Rikard,

    you can close the ticket.
    Thank you very much for your support! :-)

    Best regards,
    Oliver

    #1030998

    Hi,

    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘background color’ is closed to new replies.