Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   [SOLVED] Sub Menu Font Size Issue (http://forum.bytesforall.com/showthread.php?t=15597)

mad_hatter1986 Oct 8, 2011 02:20 AM

[SOLVED] Sub Menu Font Size Issue
 
Hi My site is www.thebank.org.uk/oneilmedia (currently trying to build as a freebee for my youth club.

Having an issue with sub menu though.

I want the page menu bar to be 22px in font size but the drop down sub menu (found below clubs) at size 11px

i have been though and aldeard added coding such as

div#menu1 ul.rMenu li ul.rMenu-ver li a {
font-size: 9px;

but didn't work so had to take it back out.

Tried lots different codes off this site but nothing seems to do the trick.

is it to do with the styling in the atahualpa theme page?

Everytime i change something in the coding though it changes BOTH child and parent. (im sure i have change these sizes before now.

if anyon can help be great, thank. :)

juggledad Oct 8, 2011 04:19 AM

what version of Atahualpa are you on?
Are you using the Atahualpa automatic menu or a WordPress custom menu?

It looks like you are using the Wordpress menu and since it uses a UL with a class of 'children' you might want to try that. Using FireBug in FireFox to examine the elements and what CSS applies or viewing the page source is a problem solving method I always use.

my guess is that
1) you are on 3.6.7 but have not applied any of the patches (see the New Versions & Updates forum or upgrade to version 3.7.1)
2) you are using a custom menu - which WP builds and it
a - has no <div> id="menu1">
b - uses <ul class="children"> not 'rMenu-ver'

mad_hatter1986 Oct 9, 2011 01:28 AM

im on 3.6.7 and using the Atahualpa menu

It says if i up grade i will loose my coustom settings, how much do i loose, as there is quite a lot here.



i don't think its a children tag as it has things like

ul#rmenu2 ul.sub-menu,
ul#rmenu2 ul.rMenu-ver {
text-align: left; /* because the parent container, the table's TD has align="center" */
}


in the css file


and like this

div#menu1 ul.rMenu li a:link,
div#menu1 ul.rMenu li a:hover,
div#menu1 ul.rMenu li a:visited,
div#menu1 ul.rMenu li a:active {
text-decoration: none;
margin: 0;
color: #<?php echo $bfa_ata['page_menu_bar_link_color']; ?>;
text-transform: <?php echo $bfa_ata['page_menu_transform']; ?>;
Font:<?php echo $bfa_ata['page_menu_font']; ?>;
}


Although if i change the font in this coding above, it changes both parent and children titles.

tried putting code into the css inserts as well, nothing. :(

juggledad Oct 9, 2011 03:53 AM

1) don't make changes to the theme files. I've only seen a couple os specialized cases where someone might need to do that
2) CSS should go in the CSS Inserts - then it is a theme option that stays across upgrades
3) other that PHP used in a theme OPTION - all your settings are kept across upgrades
4) you can install multiple copies of the theme so you can swap back and forth between releases. see HOWTO: upgrade Atahualpa to a new version
5) if you look at the source of a generated page - not the css part but the html - you will see what I talked about - I did look at your source which is why I told you about it.

mad_hatter1986 Oct 9, 2011 04:27 PM

i got confused for a bit but put in

ul.children li a:link,
ul.children li a:hover,
ul.children li a:visited,
ul.children li a:active {

font-size: 14px !important;}

into the css inserts and it worked

thank you !!! :)


All times are GMT -6. The time now is 02:42 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.