How to change 'sale' under SHOP navigation into red for Mobile

Solved

How to change 'sale' under SHOP navigation into red for Mobile

tiffanymwc
Tourist
7 0 2

I am using Ari Template Theme
Sale tab is a 2nd tier under the main SHOP navigation and we would like to make the sale tab red.
And I was able to use the below steps to make the sale tab under the shop navigation to be red in color on desktop, but mobile navigation still show original color, not in red.
Website url: https://parallel51.co/

 

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file base.css, theme.css, styles.css or theme.scss.liquid

Step 3: Insert the below code at the bottom of the file -> Save

a.navlink.navlink--child[href='/collections/warehouse-sale'] {
    color: red !important;
}
Would anyone know how to make the SALE tab red on mobile also?
Accepted Solution (1)

pawankumar
Shopify Partner
700 102 123

This is an accepted solution.

Hi @tiffanymwc 

.sliderule__wrapper a.sliderow__title[href='/collections/warehouse-sale'] {
color: red !important;
}

 

Please use this for mobile, please put it after desktop css code
Thanks! 

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan

View solution in original post

Replies 2 (2)

pawankumar
Shopify Partner
700 102 123

This is an accepted solution.

Hi @tiffanymwc 

.sliderule__wrapper a.sliderow__title[href='/collections/warehouse-sale'] {
color: red !important;
}

 

Please use this for mobile, please put it after desktop css code
Thanks! 

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan

Made4uo-Ribe
Shopify Partner
10043 2388 3016

Hi @tiffanymwc 

Check this one. 

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:

 

a.sliderow__title[href="/collections/warehouse-sale"] {
    color:red;
}

 

And Save. 

Result:

Made4uoRibe_0-1717090919788.png

 

 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.