Shape 5

Joomla Templates => Business Pro - Club => : cspgsl December 05, 2013, 12:08:11 PM



: Bold menu items
: cspgsl December 05, 2013, 12:08:11 PM
At http://shphotographie.com/contact I cannot find the setting to change the menu items in the accordion menu from bold to normal.  ???

It's driving me nuts :o

Please help


: Re: Bold menu items
: mikenicoll December 05, 2013, 05:24:54 PM
Hello,

The font-weight is controlled with a !important call of font-weight 600 in the index.php targeting multiple elements here:

.s5_mod_h3, #s5_nav li a, .s5_sub_a_span, h1, h2, h3, h4, h5, .inputbox, .registration input, .login input, .contact-form input, #jform_contact_message, #mod-search-searchword, input, textarea, #s5_footer_area1, .button, .btn-primary, .s5_ts_not_active, .s5_ts_active, .contact_section span, .tab_title, .large_highlight_font, .highlight_button, .highlight_font, p.readmore a, .s5_is_display h3, .fd_title, .fd_box_title, .module_round_box-breadcrumbs, #s5_drop_down_text_inner, .btn {
font-family: <?php echo $s5_fonts_highlight ?>;
font-weight: 600 !important;
}

To change it you would need to isolate your element out and add it back in the custom.css with its own font-weight setting. I would suggest using Firebug to assist with this.

-Mike


: Re: Bold menu items
: cspgsl December 05, 2013, 05:41:45 PM
Regardless of the setting I insert in the template manager, nothing happens with the bold setting.


: Re: Bold menu items
: mikenicoll December 05, 2013, 05:44:21 PM
Sorry,

I was between threads and just edited the original typo.

-Mike


: Re: Bold menu items
: cspgsl December 05, 2013, 05:47:10 PM
So, I should be able to edit one of the #s5_accordion_menu  tags to achieve the Normal font weight?


: Re: Bold menu items
: mikenicoll December 05, 2013, 05:58:15 PM
Hello,

You would need to isolate the accordion block out of the index.php and reapply it in the custom.css with its own font-weight and a !important call.

-Mike


: Re: Bold menu items
: cspgsl December 05, 2013, 05:59:45 PM
Thanks, I'll give it a go


: Re: Bold menu items
: mikenicoll December 05, 2013, 06:04:32 PM
Try adding this to the custom.css file with a !important call first as it may work that way without any necessary index changes.

#s5_accordion_menu h3.s5_am_toggler, #s5_accordion_menu h3.s5_am_toggler a.mainlevel {
    font-weight: 100 !important;}

-Mike


: Re: Bold menu items
: cspgsl December 05, 2013, 06:14:43 PM
Thanks Mike, you saved me a bunch of time. That was the only thing that I couldn't get today.

Why didn't altering the setting in the template manager have any effect?


: Re: Bold menu items
: mikenicoll December 05, 2013, 06:16:18 PM
Hello,

It was for something completely different which is why I edited my post. The font-weight is hard coded at 600 for that block in the index.

-Mike


: Re: Bold menu items
: cspgsl December 05, 2013, 06:25:47 PM
Thanks again


: Re: Bold menu items
: mikenicoll December 05, 2013, 06:26:53 PM
Any time.

-Mike