Solved

Using CSS How Do I Change Light Gray Around Section To Dark Gray On Ride Theme

sharingsunshine
Shopify Partner
5 0 1

I want to change the light gray border around the section to the same background-color that is behind the text using CSS.

 

shopify-section.png

 

This is how it should look:

 

shopify-section2.png

Thanks,

 

Randal

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
5949 1432 1765

This is an accepted solution.

Hi @sharingsunshine 

If this section only you like to change? 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

div#shopify-section-template--15836323741761__image_with_text_8CQYtm {
     background: #6b6b6b;
}

 

And Save. 

Result:

Made4uoRibe_0-1715637376377.png

Or do you like to include this section also. 

Made4uoRibe_1-1715637422326.png

If it is add this one code, same instruction. 

 

div#shopify-section-template--15836323741761__f1552b18-6017-4231-810d-74e61da22c37 {
     background: #6b6b6b;
}

 

And save. 

Note: This code is only for the specific section, not for all the section. 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


View solution in original post

Replies 4 (4)

Moeed
Shopify Partner
3782 956 1186

Hey @sharingsunshine 

 

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
sharingsunshine
Shopify Partner
5 0 1

https://test-thp-store.myshopify.com/   efitsi

 

Thanks for the help!

Made4uo-Ribe
Shopify Partner
5949 1432 1765

This is an accepted solution.

Hi @sharingsunshine 

If this section only you like to change? 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

div#shopify-section-template--15836323741761__image_with_text_8CQYtm {
     background: #6b6b6b;
}

 

And Save. 

Result:

Made4uoRibe_0-1715637376377.png

Or do you like to include this section also. 

Made4uoRibe_1-1715637422326.png

If it is add this one code, same instruction. 

 

div#shopify-section-template--15836323741761__f1552b18-6017-4231-810d-74e61da22c37 {
     background: #6b6b6b;
}

 

And save. 

Note: This code is only for the specific section, not for all the section. 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


PageFly-Theodor
Globetrotter
565 75 86

Hi @sharingsunshine 


This is Theodore from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
div#shopify-section-template--15836323741761__image_with_text_8CQYtm {
     background: #6b6b6b;
}
</style>

Hope this can help you solve the issue

 

Best regards,

Theodore | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.