A user is attempting to customize menu item colors in the Prestige theme’s mobile navigation. They successfully changed the ‘NEW’ menu item color using CSS targeting nth-last-child(8), but struggled to change the ‘OUTLET’ item to red.
The Issue:
The user suspected the dropdown functionality on ‘OUTLET’ was preventing the color change
Their existing CSS approach worked for simple menu items but not for items with dropdowns
The Solution:
A developer provided working CSS code that targets the ‘OUTLET’ button element specifically:
Desktop site I have managed to change but the mobile site I can’t figure out. I have changed the colour of ‘NEW’ on my mobile navigation using the below code to theme.css
@media screen and (max-width: 1139px) {
nav.SidebarMenu__Nav .Collapsible:nth-last-child(8) a {
color: lightyellow;
}
However, I can’t change the OUTLET colour to red. I am assuming it’s because unlike NEW the OUTLET has dropdown function. Is this correct? Can anyone help.
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.