Goal: Change the color (blue) of the first two navigation menu items—“Starter kits” and “Why buy a jellyfish aquarium?”—on petjellyfishus.com.
Attempts and guidance:
Suggested adding CSS in theme files (base.css) to style all menu items: .list-menu__item { color: blue; }. Screenshots were shared to show where to edit.
More specific CSS using nth-child selectors targeting the 1st and 2nd items with .header__menu-item and !important. Another variant set background-color on the list items and advised editing header.liquid.
A suggestion to inject code in theme.liquid before was posted but the code block was empty.
Latest proposal:
Use attribute selectors that target the exact links by href, added to the store’s CSS file:
A preview image of the expected result was provided. Images/screenshots were shared for guidance but are not essential to understand the approach.
Status: The requester reports previous codes did not work and asked for paid help. No confirmation that the latest solution resolved the issue; discussion appears ongoing.
Hi @Adam890 ,
This is Theodore from PageFly - Shopify Page Builder App.
For solving the problem about How To Highlite Shopify Menu Item?, let’s try this solution:
Online Store ->Theme ->Edit code
Assets ->Base.css
.list-menu__item{
color: blue;
}
I’ll be so happy if my suggestion can help to solve your problem. If you have any further questions, please feel free to tell me.
Best regards,
Theodore | PageFly