Jump to content

how can i edit font size in main menu?


tosal

Recommended Posts

hi there, i have too many categories to show in top menu (about 12) so as you can image topmenu becomes too big to fit in one line.

I would like to edit font size, in prestashop 1.6 i used to edit font size in blocktopmenu css folder

in ps 1.7 i do not find any css folder in modules>mainmenu

Anybody can please help me understanding how to edit menu font size?

Link to comment
Share on other sites

Use the inspect function in your browser the see the CSS class and file where this is defined (probably it comes from theme.css) - you should change it in custom.css if your themes supports this (e.g. classic does).

  • Like 1
Link to comment
Share on other sites

hi JBW thanks for your kindly support, i created a child theme so my customization will not affect by update, i look at classic theme.css for the menu class but i did not find anything about font size any suggestion about the class name to looking for?

Link to comment
Share on other sites

Font size for the menu is inherited. Anyway you can set it for the corresponding class (e.g. dropdown-item). Try it out in your browsers Inspection tool, see example below: CLOTHES is set to 25px

image.thumb.png.c4df38612b32cf58f68d88eee82200fe.png

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...