最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

html - Change background of part of GoHighLevel form - Stack Overflow

matteradmin5PV0评论

I built [this][1] form in GoHighLevel. I am trying to adjust the background so the top part (before the form fields, header and description text) is white, and the rest a green.
I add the following code to the custom css section of the form settings but it doesn't work:

background: linear-gradient(transparent 40%, #415024 40%) no-repeat !important;

I built [this][1] form in GoHighLevel. I am trying to adjust the background so the top part (before the form fields, header and description text) is white, and the rest a green.
I add the following code to the custom css section of the form settings but it doesn't work:

background: linear-gradient(transparent 40%, #415024 40%) no-repeat !important;

Given that I want the background changes applied to the whole form I did not indicate a selector, but even trying various selectors the changes are not applied. What changes do I need to make to the css? [1]: https://api.leadconnectorhq/widget/form/Jd1fNyUWJVhTuphrEPtt?notrack=true

Share Improve this question asked Nov 18, 2024 at 19:40 Kourtney KearneyKourtney Kearney 1012 silver badges8 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Your #_builder-form div has the following CSS property which is being applied with priority over your linear-gradient:

background-color: #435126FF;

In the code you provided, I see you included !important, but in the CSS of your page that is not actually present. If you were to go back and add the !important to the end of your linear-gradient, then that will also fix your problem.

Post a comment

comment list (0)

  1. No comments so far