Universal CSS Navigation Menu Support Product Page

Answered

Font sizes for heading and sub menu

Asked 12 years ago
1
has this question
12 years ago Mark Lynch posted:
Hi, can I change the horizontal menu headings as say, 15pt and change the sub menu text to say, 11point - for the mega menu?

In other words can I have a different size for the menu titles and another size for the sub menu items? And if so, where would I change them in the css for default style?

Thanks
Mark

Replies

Replied 12 years ago
12 years ago Teodor Kuduschiev replied:
Hello Mark,

Yes, this is possible, please check the following article: www.dmxzone.com/go/17390/universal-css-navigation-menu-advanced-css-styling/
Replied 12 years ago
12 years ago Mark Lynch replied:
Hi Teodor,

Just looked at the advanced styleing pdf (thanks Teodor!) and looked for the selector for the sub menu font size.

In the pdf, it is called '.dmxNavigationMenu ul.sub > li > a' but cannot find this in the default css?

Any thoughts? Thanks

Mark
Replied 12 years ago
12 years ago Teodor Kuduschiev replied:
Hello Mark,

You can just add it in the css if it is not there.
Replied 12 years ago
12 years ago Mark Lynch replied:
Hi Teodor, I have added this into the css and only the font family changed? Any thoughts on how to change the size?

Thanks

Mark
Replied 12 years ago
12 years ago Teodor Kuduschiev replied:
Please provide a link to your page where i can check this.
Replied 12 years ago
12 years ago Mark Lynch replied:
Okay, thanks.


Replied 12 years ago
12 years ago Teodor Kuduschiev replied:
Hello,

In your css code you added:

.dmxNavigationMenu ul.sub > li > a {
	font-size: 16;
	font-family: "Times New Roman", Times, serif;
}


it should be 16px;
Replied 12 years ago
12 years ago Mark Lynch replied:
Thanks Teodor, for you help on this.

Works fine now.

R, Mark
Replied 12 years ago
12 years ago Mark Lynch replied:
Hi Teodor,

If I'm creating a mega menu and not just a vertical menu with sub items, does the same css styling tags still apply, or are the css styles different for a mega menu (when applied to the above example of wanting to change headings and sub items in the mega menu.)

Thanks
Mark

Reply to this topic