Universal CSS Navigation Menu Support Product Page

Answered

Font sizes for heading and sub menu

Asked 13 Feb 2013 00:21:26
1
has this question
13 Feb 2013 00:21:26 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 13 Feb 2013 07:52:23
13 Feb 2013 07:52:23 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 13 Feb 2013 09:42:07
13 Feb 2013 09:42:07 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 13 Feb 2013 11:23:59
13 Feb 2013 11:23:59 Teodor Kuduschiev replied:
Hello Mark,

You can just add it in the css if it is not there.
Replied 13 Feb 2013 12:02:49
13 Feb 2013 12:02:49 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 13 Feb 2013 12:14:43
13 Feb 2013 12:14:43 Teodor Kuduschiev replied:
Please provide a link to your page where i can check this.
Replied 13 Feb 2013 12:17:18
13 Feb 2013 12:17:18 Mark Lynch replied:
Okay, thanks.


Replied 13 Feb 2013 12:39:43
13 Feb 2013 12:39:43 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 13 Feb 2013 16:54:16
13 Feb 2013 16:54:16 Mark Lynch replied:
Thanks Teodor, for you help on this.

Works fine now.

R, Mark
Replied 14 Feb 2013 01:17:45
14 Feb 2013 01:17:45 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