Side Menu: Expanding font sizes

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
Perrorist
Propeller Head
Posts: 93
Joined: Fri Dec 02, 2016 4:04 pm
Location: Central Coast, NSW

Side Menu: Expanding font sizes

Post by Perrorist »

Straight out of the box where all fonts are 1em and only the selected item is bolded.

This is the start of the side menu panel from the home page:

Image

When I select a topic, not only is the selected menu item bolded, but the font size for it and all the other menu items increases in size, too. Yet the font size is supposed to remain at 1em:

Image

How do I get consistent font sizes?
NorthEast
Master Propellus Maximus
Posts: 6404
Joined: Mon Mar 05, 2007 8:33 am

Re: Side Menu: Expanding font sizes

Post by NorthEast »

Duplicate of this post: viewtopic.php?f=6&t=30391&p=132221

Assuming that you've checked the size in the skin, my guess is that you have set the font-size set on the li tag somewhere in your stylesheet.
Items in the side menu are built from li and a tags, so any size you set for li can affect the side menu.

You can press F12 and use the browser's inspect tool to diagnose where the font size is being set in your CSS.
Perrorist
Propeller Head
Posts: 93
Joined: Fri Dec 02, 2016 4:04 pm
Location: Central Coast, NSW

Re: Side Menu: Expanding font sizes

Post by Perrorist »

But wouldn't those font sizes apply to the home screen's menu list as well?
NorthEast
Master Propellus Maximus
Posts: 6404
Joined: Mon Mar 05, 2007 8:33 am

Re: Side Menu: Expanding font sizes

Post by NorthEast »

I don't know, but you'll probably find the answer in seconds if you press F12 and inspect the font-size for the li and a tags in the side menu.
Perrorist
Propeller Head
Posts: 93
Joined: Fri Dec 02, 2016 4:04 pm
Location: Central Coast, NSW

Re: Side Menu: Expanding font sizes

Post by Perrorist »

Okay, point taken. I'm thinking that the difference is probably because those styles may differ between the home page and the topics.
Perrorist
Propeller Head
Posts: 93
Joined: Fri Dec 02, 2016 4:04 pm
Location: Central Coast, NSW

Re: Side Menu: Expanding font sizes

Post by Perrorist »

MainStyles.css determines the body style font. It affects li. This is what comes into play when a topic is selected. Changing the skin to accord with MainStyles.css provides a consistent menu style at all levels. I'm not a regular user of Flare, and assumed the Skin settings would apply regardless. Clearly that's not the case.
Post Reply