Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1345537

    Hello, I would like to change the background colour of specific H2 titles. So I don’t want to change them all.
    I was thinking to make a custom id attribute or css class, add it to the quick css and make changes there to the specific class/attribute.
    But that is not working. Can you help me please?

    Kind regards, Eric Smeets.

    #1345586

    You are talking about the headings ALB elements – right?
    you had to know that this custom class ( ID’s have to be unique – so if you want to use it on a page twice – a class will be better ) goes to the parent container so selector will be before the h2 container itself.
    and if you do not like to have the whole width with a background-color – you had to set the container to display : inline-block
    ( my test custom class was: heading-bg-special)

    .heading-bg-special .av-special-heading-tag {
      background-color: red;
      display: inline-block;
      padding: 2px 8px !important;
    }
    #1345668

    Hi,

    Thanks for helping out @guenni007 :-)

    Best regards,
    Rikard

    #1347330

    Perfect, thanks for the help Guenni007!

    #1347382

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.