Re: Adding CSS Gradient Background from gradient generator.

Adding CSS Gradient Background from gradient generator.

RMTPerformance
Excursionist
50 0 8

I would like to add a CSS gradient background generated from a website like this 

to a specific section of my page - https://mycolor.space/gradient3?ori=to+right+top&hex=%23000000&hex2=%233B3B3B&hex3=%23323232&submit=... 

 

Does anyone know how to do this?

I have a basic code which changes the section to black, however I would like it to be a gradient as shown from the link.

The black background code - 

.shopify-section {
    background-color: #000000;
}
​.section-template--22506935648603__custom_liquid_3YTXfC-padding {
    background-color: black;
}

 

Where I put the code - 

RMTPerformance_1-1713967245307.png

 


CSS Code for the Gradient ( I can't make it work)
background-image: linear-gradient(to right top, #000000, #080808, #0f0f0f, #151515, #191919, #1d1d1d, #202020, #242424, #272727, #2b2b2b, #2e2e2e, #323232);

The gradient I want example - 

RMTPerformance_2-1713967312363.png

 

Thanks in advance 

 

 

Reply 1 (1)

ShishirHelps
Shopify Partner
70 3 4

Hey @RMTPerformance 

Share your shopify store url please

- I'm Shishir Hasan a Shopify Store Developer | CRO specialist.
- Need a Shopify developer?

Chat on WhatsApp || Work with Upwork


- If this solves the problem, please don't forget to Mark it as Solution!