Changing color of sale on main menu

Solved
agafloor
New Member
3 0 0

Hello,

We're busy setting up the sale section on our website and would like the sale link on our main menu to be red. Does anyone know where exactly to paste what code in the parallax theme?

Thanks in advance!

www.agacolor.com

 

 

0 Likes
Jasoliya
Shopify Expert
4115 569 996

Hi @agafloor 

Follow this:

Add this css in Asset->theme.scss file at bottom

ul.menu.align_left >  li:last-child > a{ color:red;}

Note: this is fast solution so keep sale menu at last position other wise it lost css

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
agafloor
New Member
3 0 0

@Jasoliya 
Thank you dor replying! However there is no theme.scss in my assets folder or anywhere else. Are there any other places where I could add it?

0 Likes
Jasoliya
Shopify Expert
4115 569 996

If you have no theme.scs file then you can add in and main css file in asset

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
agafloor
New Member
3 0 0

alright, i've managed to add it to the styles.scss, thanks.

The color is now red on the homepage but not if I'm on any other page. Is there a way to ensure it's always red?

0 Likes
Jasoliya
Shopify Expert
4115 569 996

This is an accepted solution.

Change with this css, that's because of other css override

ul.menu.align_left>li:last-child>a {
    color: red !important;
}
Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
ajoc
New Member
4 0 0

Hi Jasoliya,

I am hoping you can please help. I would also like to make 'SALE' in my navigation red temporarily. However Sale is currently a nested item under 'shop'. Is it possible to use the same solution?

 

Screen Shot 2020-07-06 at 3.28.56 pm.png

Thanks so much.

Alison 

0 Likes
Jasoliya
Shopify Expert
4115 569 996

send your store url 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
ajoc
New Member
4 0 0
www.kitx.com.au

Thanks so much.
0 Likes
Jasoliya
Shopify Expert
4115 569 996

Add this color in asset->theme.scss file  at bottom:

.dropdown_links [href="/collections/sale"]{color:red !important}

 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes