How to make GHL gradient buttons for funnels and websites? When designing websites or applications, buttons are one of the most crucial elements. They need to stand out and guide users through important actions, such as submitting a form, signing up for a service, or purchasing a product. One effective way to make buttons more eye-catching is by using gradient background colors.
Gradients blend two or more colors together, creating depth and dimension that enhances the overall design. In this article, we’ll explore 20 beautiful color palettes that can be used to create stunning button backgrounds. Each palette is carefully curated to provide a smooth and harmonious transition between two complementary colors.
What Are Gradient Colors and Why Use Them?
A gradient is a gradual blend between two or more colors, offering a visually dynamic element to your design. Gradients are often used in button backgrounds because they create a sense of movement and draw attention to the button itself, encouraging users to take action.
By customizing the gradient background of your buttons, you can enhance your website’s aesthetic, match your brand colors, or improve user engagement. Let’s dive into some amazing gradient color combinations to inspire your next project.
1. Choose your preferred color palette
Choose two colors in hex code format. In this tutorial, we will use these:
2. Assign a class name
Once you’ve chosen your preferred color palette, applying it to your button is simple using CSS. To have a consistent design and to prevent redundant work, it is a great idea to use class names rather than attaching the styles to your buttons’ IDs.
You can follow along and use the same class name that we will be using here or you can also create your own.
The class name that we will be using is global__custom-btn.
Now, click your button element ➜ on the right panel, go to Advanced ➜ look for the Custom Class field and type in global__custom-btn ➜ press Enter.
3. Add the CSS Code for GHL Gradient Buttons
.global__custom-btn {
background-image: linear-gradient(
90deg,
#ff7e5f 0%,
#feb47b 51%,
#ff7e5f 100%
);
transition: background 0.5s ease !important;
background-size: 200% auto;
}
.global__custom-btn:hover {
background-position: right;
}
Copy the code above.
If you are using your own class name, change them on lines 1 and 12. The dot before the class name is required.
Also, if you are using your own color palette, change the first color on lines 4 & 6. Change the second color on line 5.
Let’s add the CSS Code to your GoHighLevel funnel or website. Look for the paint brush icon and click it ➜ paste the code ➜ click Save.
Gradient backgrounds offer a dynamic and visually engaging way to enhance the design of buttons on your website or app. Whether you’re aiming for a subtle, soft look or a bold and vibrant design, these 20 color palettes provide a great starting point for creating eye-catching button backgrounds. By experimenting with different gradients, you can make your buttons stand out and encourage more user interactions.
Happy customizing!