Re: How to change the background for my blog en faq page Craft theme

Solved

How to change the background for my blog en faq page Craft theme

BonFeet
Tourist
22 0 2

Hi!

 

I would like to change the background of my blog, blogposts and FAQ page to #FFFFFF instead of this pinkish colour that is standard in the Craft theme. I found some answers to a similar question about changing the blog background, but none of the solutions given there seem to work with me. Everything that is pink on the website needs to change to white..

Can someone help me please? Greatly appreciate it!

 

Best, Lise

Accepted Solution (1)

websensepro
Shopify Partner
1879 224 267

This is an accepted solution.

Hi @BonFeet 

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.

 

.card.article-card.card--card.article-card__image--small.card--media.color-scheme-1.gradient {
    background: #fff !important;
}
section#shopify-section-template--24723075072347__collapsible_content_nC6g6V .color-scheme-1 {
    background: #ffff !important;
}

websensepro_1-1736234692924.png

websensepro_2-1736234710733.png

If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!

 

 

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP

View solution in original post

Replies 25 (25)

DaisyVo
Shopify Partner
4385 486 578

Hi @BonFeet 

 

Could you please share the store link with us so we can check it further?

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution
BonFeet
Tourist
22 0 2

Hi @DaisyVo  ! 

The website is: https://jvxnja-sv.myshopify.com/?_ab=0&_fd=0&_sc=1

pw: rowwho

 

Appreciate your help!

Moeed
Shopify Partner
7354 1993 2433

Hey @BonFeet 

 

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 Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


BonFeet
Tourist
22 0 2

Hi @Moeed 

 

The website is: https://jvxnja-sv.myshopify.com/?_ab=0&_fd=0&_sc=1

pw: rowwho

 

Appreciate your help!

Moeed
Shopify Partner
7354 1993 2433

Hey @BonFeet 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find password.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
main#MainContent {
    background: #ffffff !important;
}
</style>

RESULT:

Moeed_0-1736180773214.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


BonFeet
Tourist
22 0 2

Hi @Moeed ,

 

Thanks for your quick reply. I tried your solution but it didnt work unfortunately. See screenshots. Did i enter the code in the wrong location? Also, in your screenshot I see that the blogposts are still pink and not white?

 

Thanks for your help!Screenshot 2025-01-06 at 18.25.35.pngScreenshot 2025-01-06 at 18.27.13.png

websensepro
Shopify Partner
1879 224 267

Hi @BonFeet , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP
BonFeet
Tourist
22 0 2

Hi @websensepro , 

The website is: https://jvxnja-sv.myshopify.com/?_ab=0&_fd=0&_sc=1

pw: rowwho

 

Appreciate your help!

ZestardTech
Shopify Partner
6131 1097 1473

Hello @BonFeet ,

 

Could you please provide the URL/ password  to your store so that I can check it and provide you with the exact solution?

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
BonFeet
Tourist
22 0 2

Hi @ZestardTech , 

The website is: https://jvxnja-sv.myshopify.com/?_ab=0&_fd=0&_sc=1

pw: rowwho

 

Appreciate your help!

ZestardTech
Shopify Partner
6131 1097 1473

Hello @BonFeet,

 

I have checked the blog page, and the issue has already been resolved. I am providing you with the CSS for the FAQ page. Please add the code below to your current theme and let me know if there are any issues.

 

Here are the steps to apply the necessary changes in your Shopify store:

  1. In your Shopify Admin, navigate to Online Store > Themes > Actions > Edit Code.
  2. Locate Asset > base.css and paste the following code at the bottom of the file:
section#shopify-section-template--24723075072347__collapsible_content_nC6g6V .color-scheme-1.gradient {
    background: white;
}

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing

namphan
Shopify Partner
2610 336 384

Hi @BonFeet,

Please send the website link, I will check it for you

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
BonFeet
Tourist
22 0 2

Hi @namphan  , 

The website is: https://jvxnja-sv.myshopify.com/?_ab=0&_fd=0&_sc=1

pw: rowwho

 

Appreciate your help!

namphan
Shopify Partner
2610 336 384

Hi @BonFeet,

Please go to Actions > Edit code > layout > theme.liquid file and add the code before '</head>':

{%- if template contains 'blog' or template contains 'faq' -%}
      <style>
        body.gradient {
          --gradient-background: #ffffff !important;
        }
      </style>
{%- endif -%}

 

 

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
BonFeet
Tourist
22 0 2

Hi @namphan 

Thanks for your tip, i have added the code and the background is gone at the blog section, but not the faq page. see link https://jvxnja-sv.myshopify.com/pages/veel-gestelde-vragen and on the blog page blog post blocks still have a pink background. any idea how i can fix this? 

Thanks, appreciate your help!

Best, Lise

Screenshot 2025-01-07 at 08.07.54.pngScreenshot 2025-01-07 at 08.10.27.png

namphan
Shopify Partner
2610 336 384

Hi @BonFeet,

You can try again with the following code:

{%- if template contains 'blog' or page.handle contains 'veel-gestelde-vragen' -%}
      <style>
        body.gradient {
          --gradient-background: #ffffff !important;
        }
      </style>
{%- endif -%}
Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
BonFeet
Tourist
22 0 2

Thanks @namphan the solution from Websensepro worked but i appreciate your efforts. and i had to pick one.. I will buy you a coffee, though, cos appreciate the trouble. cheers

namphan
Shopify Partner
2610 336 384

Hi @BonFeet,

Thanks and nice to meet you 😊

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
namphan
Shopify Partner
2610 336 384

Hi @BonFeet,

Please add code:

{%- if page.template contains 'Standard Page' -%}
      <style>
        body.gradient {
          --gradient-background: #ffffff !important;
        }
      </style>
{%- endif -%}
Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com

websensepro
Shopify Partner
1879 224 267

This is an accepted solution.

Hi @BonFeet 

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.

 

.card.article-card.card--card.article-card__image--small.card--media.color-scheme-1.gradient {
    background: #fff !important;
}
section#shopify-section-template--24723075072347__collapsible_content_nC6g6V .color-scheme-1 {
    background: #ffff !important;
}

websensepro_1-1736234692924.png

websensepro_2-1736234710733.png

If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!

 

 

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP
BonFeet
Tourist
22 0 2

Excellent, it worked! Many thanks

BonFeet
Tourist
22 0 2

Hi @websensepro 

I have another page that needs to change to white, actually, i want all pages assigned to the 'Standard Page' template to have a white background in stead of the pink it is now. See the frequently asked questions page on the site. (do you still have the details?) can you please help me with the code? Many thanks!

websensepro
Shopify Partner
1879 224 267

Tell me which pages are pink?

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP
websensepro
Shopify Partner
1879 224 267

Hi @BonFeet 
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.

 

.content-for-layout.focus-none {
    background: #ffff !important;
}

 

If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Use our Big Bulk Discount app to boost your sales! 🚀 (https://apps.shopify.com/big-bulk-discount). Easy to set up and perfect for attracting more customers with bulk discounts. Try it now and watch your revenue grow!

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP
BonFeet
Tourist
22 0 2

Perfect! it worked, thanks very much