Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

[SOLVED] Sub Menu Font Size Issue


  #1  
Old Oct 8, 2011, 02:20 AM
mad_hatter1986
 
7 posts · Oct 2011
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.
  #2  
Old Oct 8, 2011, 04:19 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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'
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Oct 9, 2011, 01:28 AM
mad_hatter1986
 
7 posts · Oct 2011
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.
  #4  
Old Oct 9, 2011, 03:53 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Oct 9, 2011, 04:27 PM
mad_hatter1986
 
7 posts · Oct 2011
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 !!!

Last edited by mad_hatter1986; Oct 9, 2011 at 05:14 PM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing font size in drop down menu of page bar ftf79 Page & Category Menu Bars 2 Apr 28, 2011 12:50 PM
How can I change the menu font size? jstein Page & Category Menu Bars 1 Dec 21, 2010 08:58 AM
Font size in page menu (left side integrated as widget) Tigger Page & Category Menu Bars 8 Aug 27, 2009 07:49 PM
[SOLVED] Child pages font size and styling - browser issue? neska0209 Page & Category Menu Bars 2 Jul 14, 2009 08:13 AM


All times are GMT -6. The time now is 10:58 PM.


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