Modify Button Style in Collection List section of Dawn Theme

Solved

Modify Button Style in Collection List section of Dawn Theme

yapofire
Excursionist
12 0 6

Hi there,

 

The "Featured Collection" section has an option for an outline button, 

 

2024-05-11.png

 

However, the "Collection List" section doesn't:

2024-05-11 (1).png

 

I would like them to match.

 

I have tried adding the below to custom css of the section and whilst it appears to visually work, I get an error when saving the page:

 

.button {
background-color: #FCFAF5; !important;
color:#006680; !important;
}

 

What am I doing wrong?

 

 

Thanks

 

Accepted Solution (1)

Dawood_Mirza_
Trailblazer
135 18 30

This is an accepted solution.

Hi Yapofire,

 

You are having error because of the code you have written
change this 
.button {
background-color: #FCFAF5; !important;
color:#006680; !important;
}

 

to 

.button {
background-color: #FCFAF5 !important;
color:#006680 !important;

 

There was a issue of semi-colon(;) only it will not be there after hex code 

Hope to have helped you

BR 

Dawood Mirza

Want to work with me - dawoodmirzabusiness@gmail.com
Don't forget to like and mark it as Solution if it was helpful to you.

View solution in original post

Replies 8 (8)

Moeed
Shopify Partner
6963 1878 2295

Hey @yapofire 

 

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


yapofire
Excursionist
12 0 6
Moeed
Shopify Partner
6963 1878 2295

Hey @yapofire 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag.

<style>
.center.collection-list-view-all.small-hide.medium-hide.scroll-trigger.animate--slide-in a {
    background: transparent !important;
    color: #296880 !important;
}
</style>

RESULT:

 

Moeed_0-1715410928288.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


devcoders
Shopify Partner
1090 134 302

Hi @yapofire 

If you share your store URL and password with me, I will check and provide you with the solution.

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!
yapofire
Excursionist
12 0 6
devcoders
Shopify Partner
1090 134 302

Hi @yapofire 

- Go to Online Store -> Theme -> Edit code.
- Find the file assets/base.css and paste the code below at the bottom of the file."

 

 

.button {
background-color: #FCFAF5 !important;
color:#006680 !important;
}

 

 

devcoders_0-1715411070780.png

 

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!

Dawood_Mirza_
Trailblazer
135 18 30

This is an accepted solution.

Hi Yapofire,

 

You are having error because of the code you have written
change this 
.button {
background-color: #FCFAF5; !important;
color:#006680; !important;
}

 

to 

.button {
background-color: #FCFAF5 !important;
color:#006680 !important;

 

There was a issue of semi-colon(;) only it will not be there after hex code 

Hope to have helped you

BR 

Dawood Mirza

Want to work with me - dawoodmirzabusiness@gmail.com
Don't forget to like and mark it as Solution if it was helpful to you.
yapofire
Excursionist
12 0 6

Thanks so much

 

Silly me!