Trying to change the color of the nav menu just for the homepage in Shopify but couldn't find any solution to it. I tried to call #MainContent(homepage) and header classes but nothing happened.
CodePudding user response:
Try this:
- Go to
Themes
- Click
Customize
on your main theme - Mouse over a block of text on the page and then click the
Add Block
button (Don't clickAdd Section
). - From the dropdown, select
Custom HTML
- Paste this in the
HTML
field:
<style> nav * { color: red !important; } </style>