cancel
Showing results for 
Search instead for 
Did you mean: 

how to change the colour of elements such as Navigation menu?

SOLVED

how to change the colour of elements such as Navigation menu?

Hi guys im back with another question sorry.

I was wondering how to change the colour of the nav menu.

I know how to create  it in developer mode, but when the site is on the remote server I am not sure.

I have learnt that normally you create a .less file in the ./web directory, but when the site is on the remote server i am not sure, any ideas?

 

many many thanks.

Ps, it would be great if this was possible for many elements.

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: how to change the colour of elements such as Navigation menu?<solved>

I used the web dev tool on the browser and identified the element class.

then under admin i went into the Content>Config>Store theme>Edit>Html Head>Scripts & stylesheets ...

and added my changes in there.

View solution in original post

2 REPLIES 2

Re: how to change the colour of elements such as Navigation menu?<solved>

I used the web dev tool on the browser and identified the element class.

then under admin i went into the Content>Config>Store theme>Edit>Html Head>Scripts & stylesheets ...

and added my changes in there.

Re: how to change the colour of elements such as Navigation menu?<solved>

Magento assigns a unique class to each of the top level list item elements. If Help is the 4th category, you can select it with the 'nav-4' class. To change the text color, you can do this:

li.nav-4 > a {
    color: blue !important;
}

we @ Builderfly- eCommerce Platform 

Builderfly
https://www.builderfly.com