Styling Skin: SideMenu

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
juliamarie611
Jr. Propeller Head
Posts: 7
Joined: Tue Jul 19, 2022 8:33 am

Styling Skin: SideMenu

Post by juliamarie611 »

Hi, all.

I'm using the Balboa template which uses a Skin called SideMenu appearing on the left-side of the screen to navigate between sections/topics.

When one of these topics is selected, I would like the text to be underlined. Can anyone help me figure out edit the skin/css to underline text?

Thank you!
Julia
Nita Beck
Senior Propellus Maximus
Posts: 3669
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: Styling Skin: SideMenu

Post by Nita Beck »

Welcome to the forums! ;)

The component skin editor doesn't offer a way to add underlining to selected menu items, so you have to add a customization to the project's main stylesheet. The easiest way is to add a bit of code by hand.

Right-click the MainStyles.css and select Open with > Internal Text Editor. Scroll to line 251 or so, which is right where the definitions for things in the default medium end and other mediums begin.

Add this bit of code and save the styelsheet. I've taken the liberty of crafting a comment explaining what this bit of code does.

Code: Select all

ul.menu._Skins_SideMenu.mc-component li > a.selected /* Adds underlining to the menu item selected in the side menu */
{
    text-decoration: underline;
}
HTH
Nita
Image
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
juliamarie611
Jr. Propeller Head
Posts: 7
Joined: Tue Jul 19, 2022 8:33 am

Re: Styling Skin: SideMenu

Post by juliamarie611 »

Nita,
Thank you for welcoming me to the forums! AND for saving me hours of work trying to find a solution to my question. Adding your code to MainStyles.css worked like a charm! I really can't thank you enough! :D
Post Reply