change background image opacity

change background image opacity

4 0 2

Hi i changed my background image of whole main content by the following code:



#MainContent {
background: transparent !important;
body.gradient {
background: url("//") repeat center center fixed !important;
background-size: cover !important;
.gradient {
background: transparent !important;


can anyone help me how to change opacity of image


Reply 1 (1)

Shopify Partner
36941 3642 12003


Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community!😊
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on regarding any help
Shopify Partner | Skype :
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing