Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1108884

    Hello,

    I have tried to set up a colour section with a linear gradient. It works with the following code but I am not able to set the height to 2px

    .page-id-502 #farbe {
    background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet) !important;
    height: 2px !important;
    }

    Is there a minimum height for containers? Do I have another possibility for implementing this?

    Here is an example of what I want to achieve: https://postimg.cc/Js7Nrc88

    Best regards,
    Christopher

    #1108899

    guess #farbe is the unique id for that section?

    .page-id-502 #farbe {
    background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet) !important;
    height: 2px !important;
    min-height: 0
    }

    maybe an !important is necessary too
    every .avia-section got a minimum-height of 100px

    #1109008

    Hi,

    Thanks for helping out @guenni007, did you try that out @chrisboe?

    Best regards,
    Rikard

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