Jump to content
Sign in to follow this  
rpacker

How to apply bold to menu items

Recommended Posts

rpacker

I can't seem to find the CSS style for standard menu items in order to apply bold to the typeface. The menu items are displayed in the Navigation section. Does anyone have the custom code ready to go for this?


Randall Packer

Multimedia Artist & Educator

http://www.randallpacker.com

Share this post


Link to post
Share on other sites
catrina
It should be ul#main-menu-main li.nav_item or something of that sort, but it might be different. Can you please post a link to your site?

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
rpacker
http://www.randallpacker.com/ The menu names near the top of the page are: performance, hell, art, etc... Thanks!

Randall Packer

Multimedia Artist & Educator

http://www.randallpacker.com

Share this post


Link to post
Share on other sites
rpacker
ul#main-menu-main li.menu_item {font-weight: bold;} That didn't seem to change anything. How did you come up with this line of code? I am using Firebug, but I can't seem to isolate the font style within a menu item.

Randall Packer

Multimedia Artist & Educator

http://www.randallpacker.com

Share this post


Link to post
Share on other sites
catrina
I checked again using Firebug and it should be: ul#main-menu-main li#menu_item {font-weight: bold;}

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
rpacker
I think the problem is that the courier font must be bold by default, so it can't get any bolder. How would I increase the size of the font? Sorry for these simplistic questions, I am still learning CSS. Thanks!

Randall Packer

Multimedia Artist & Educator

http://www.randallpacker.com

Share this post


Link to post
Share on other sites
catrina
Use this property: font-size: #px; For more assistance with CSS, this is a good resource: www.w3schools.com/css/

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
rpacker
Are you sure you have this right? The following two scripts to change bold and font size are not working: ul#main-menu-main li.menu_item {font-size: 8px;} ul#main-menu-main li.menu_item {font-weight: bold;} Thanks.

Randall Packer

Multimedia Artist & Educator

http://www.randallpacker.com

Share this post


Link to post
Share on other sites
Danny
Hi Randall, The menu items are already bold as far as I can see, you can add this however and you should see a increase in the bold effect. [code] .main_nav li a { font-weight: bolder !important; } [/code]

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
rpacker
Danny, that worked like a charm, thanks!! Here is what I used to apply bolder and font size: .main_nav li a { font-weight: bolder !important; } .main_nav li a { font-size: 12px !important; }

Randall Packer

Multimedia Artist & Educator

http://www.randallpacker.com

Share this post


Link to post
Share on other sites
rpacker
@Danny I have run into a new problem with the secondary navigation. Apparently it works on posts and pages, but not on individual posts and categories. I have looked at one solution in the forum, which is way over my head. Is there an easier way to accomplish this? I just want a navigation centered at the bottom of every page. Maybe there is another way to do this?

Randall Packer

Multimedia Artist & Educator

http://www.randallpacker.com

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×