Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1344563

    Dear support,
    would it be possible to give elements like a textblox or a column a gradient border like in the screenshot? I would need a gradient with 3 colors from top to bottom:
    #E95A1A
    #6F536B
    #142453
    Thanks for any help!

    #1344582

    Hi Dondela,

    Thanks for contacting us!

    Please edit your Text Block element and give it a custom ID (“custom-border” in example below) and then add following code to bottom of Quick CSS field

    #custom-border {
      padding: 1rem;
      border-width: 10px;
      border-style: solid;
      border-image: linear-gradient( to bottom, #E95A1A, #6F536B, #142453 ) 1 100%;
      border-right: none;
    }

    Regards,
    Yigit

    #1344591

    Hi Yigit,
    thanks for your help!

    It works, but the “border-right: non;” seems not to work. I still have a thin gradient border on the right side.

    #1344595

    Hi,

    Please refresh your page a few times. It works fine on my end. I attached a screenshot in private content field below :)

    Cheers!
    Yigit

    #1344599

    HI Yigit,

    you are right: it works on all browsers, except safari on mac. Also on mobile-safari i still see a gradient border on the right side. (See screenshot)

    #1344633

    Hi,

    Please try this CSS instead:

    #gradient-border {
    padding: 1rem;
    border-left-width: 10px;
    border-left-style: solid;
    border-image: linear-gradient( to bottom, #E95A1A, #6F536B, #142453 ) 1 100%;
    border-right-width: 0;
    }

    Best regards,
    Rikard

    #1344639

    Hi Rikard,
    awesome, this works!
    Thanks for help!

    #1344681

    Hi,

    You’re welcome! Glad we could be of help. Please feel free to open another thread if you need anything else. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘gradient border element’ is closed to new replies.