Need help removing gradient from HubSpot template
I’m working on customizing a HubSpot landing page template and running into an issue with the background. Right now it shows a gray gradient but I just want a plain white background instead.
Here’s what I have in my template code:
/* ----- Layout Settings ----- */
{% set main_bg_color = "#FFFFFF" %}
{% set secondary_bg_color = "#f5f5f5" %}
{% set container_width = 1200 %}
{% set border_style = "rounded" %}
{% set fixed_header = "Yes" %}
{% set back_to_top = "Yes" %}
/* ----- Theme Colors ----- */
{% set primary_bg = "#000000" %}
{% set primary_accent = "#00d4aa" %}
{% set primary_text = "#FFFFFF" %}
{% set secondary_accent = "#0056b3" %}
{% set secondary_text = "#444444" %}
{% set tertiary_accent = "#1e3a8a" %}
{% set header_bg = "#111111" %}
{% set header_text = "#ffffff" %}
{% set body_text = "#333333" %}
{% set link_default = "#00d4aa" %}
{% set link_active = "#2A2A2A" %}
{% set title_color = "#444444" %}
{% set alt_text = "#dddddd" %}
{% set custom_gradient = "background: rgba(30,58,138,1);
background: -moz-linear-gradient(30deg, rgba(30,58,138,1) 0%, rgba(16,185,129,0.9) 100%);
background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(30,58,138,1)), color-stop(100%, rgba(16,185,129,0.9)));
background: -webkit-linear-gradient(30deg, rgba(30,58,138,1) 0%, rgba(16,185,129,0.9) 100%);
background: -o-linear-gradient(30deg, rgba(30,58,138,1) 0%, rgba(16,185,129,0.9) 100%);
background: -ms-linear-gradient(30deg, rgba(30,58,138,1) 0%, rgba(16,185,129,0.9) 100%);
background: linear-gradient(30deg, rgba(30,58,138,1) 0%, rgba(16,185,129,0.9) 100%);" %}
I think I need to remove all the gradient stuff after the first background color setting but wanted to check if there’s a cleaner way to do this. Has anyone dealt with this before?