Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

[SOLVED] Page Menu: how do I increase the size of the menu item?


  #1  
Old Sep 30, 2011, 05:10 AM
rbiasiutti
 
34 posts · Mar 2011
Send a message via Skype™ to rbiasiutti
[SOLVED] Page Menu: how do I increase the size of the menu item?

I tried with some indications found in the other thread but I could not do what I need.
I would like to enter 10 px all around the written (like padding) but when I insert the div expands below.

The menu is a customized WP Menu and I use this css in ATO>Add HTML/CSS Inserts>CSS Inserts :

Code:
ul.rMenu li a:link, 
ul.rMenu li a:visited, 
ul.rMenu li a:hover, 
ul.rMenu li a:active, 
ul.rMenu li {
         padding: 10px;
}
I use atahualpa 3.6.7. ... the link is http://www.rbiasiutti.it/dolphins
Thank you
  #2  
Old Sep 30, 2011, 05:48 AM
juggledad's Avatar
juggledad
 
23,743 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try using a border of 10 px and make the border color the same as the menu background
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 30, 2011, 08:17 AM
rbiasiutti
 
34 posts · Mar 2011
Send a message via Skype™ to rbiasiutti
Quote:
Originally Posted by juggledad
try using a border of 10 px and make the border color the same as the menu background
I changed the css in

Code:
ul.rMenu li a:link, 
ul.rMenu li a:visited, 
ul.rMenu li a:hover, 
ul.rMenu li a:active, 
ul.rMenu li {
	border: 10px solid #990000;
}
better... but the size of selectable area of the buttons is remaining the same (1pixel white border delimiting the text) .
I wish that all the button area is selectable and not just text.
  #4  
Old Sep 30, 2011, 08:33 AM
lmilesw's Avatar
lmilesw
 
10,175 posts · Jul 2009
Central New York State USA
What I do is use Firebug to find the selectors and then "play" with the CSS. Then when I have it like I want it I cut and paste into ATO>Add HTML/CSS Inserts>CSS Inserts. Learning to use Firebug is VERY helpful. I am not sure why the first code I gave you didn't work but I looked in Firebug, played a bit and came up with the following which should give you padding around all the menu items.
HTML Code:
#rmenu2 li a, #rmenu li a {
    padding: 10px !important;
}
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Sep 30, 2011, 11:55 AM
rbiasiutti
 
34 posts · Mar 2011
Send a message via Skype™ to rbiasiutti
thanks for the code, now it works.
small problem though: in the buttons with submenus, the padding on the right of the arrows does not work.
now i set, for test, only this code

HTML Code:
#rmenu2 li a, #rmenu li a {
    padding-right: 30px !important;
}
[/quote]

and you see the difference between the two types of buttons...
  #6  
Old Sep 30, 2011, 07:51 PM
lmilesw's Avatar
lmilesw
 
10,175 posts · Jul 2009
Central New York State USA
The arrows are background images. I think the easiest way to get space to the right of the arrows is to create replace the arrows with ones with more space on their right.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #7  
Old Sep 30, 2011, 07:03 AM
lmilesw's Avatar
lmilesw
 
10,175 posts · Jul 2009
Central New York State USA
the rMenu is an ID so you could also try the following. You don't need the a:link, a:visited, etc.
Code:
ul#rMenu li a
         padding: 10px;
}
Quote:
Originally Posted by rbiasiutti
I tried with some indications found in the other thread but I could not do what I need.
I would like to enter 10 px all around the written (like padding) but when I insert the div expands below.

The menu is a customized WP Menu and I use this css in ATO>Add HTML/CSS Inserts>CSS Inserts :

Code:
ul.rMenu li a:link, 
ul.rMenu li a:visited, 
ul.rMenu li a:hover, 
ul.rMenu li a:active, 
ul.rMenu li {
         padding: 10px;
}
I use atahualpa 3.6.7. ... the link is http://www.rbiasiutti.it/dolphins
Thank you
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #8  
Old Sep 30, 2011, 08:08 AM
rbiasiutti
 
34 posts · Mar 2011
Send a message via Skype™ to rbiasiutti
Quote:
Originally Posted by lmilesw
the rMenu is an ID so you could also try the following. You don't need the a:link, a:visited, etc.
Code:
ul#rMenu li a
         padding: 10px;
}
Nothing changed... the menu aspect is same as original

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to increase the height of Page Menu? onlinebisnes Header configuration & styling 5 Oct 7, 2010 03:18 PM
Page menu bar: first menu item as a image unelma Page & Category Menu Bars 2 Dec 4, 2009 11:52 PM
Can't seem to get padding applied to page menu item tcruiser Page & Category Menu Bars 1 Oct 24, 2009 08:37 PM
Need to Increase Spacing Between Page Names in Menu Bar edvandyke Header configuration & styling 1 Oct 12, 2009 02:16 PM
Left align first item in page bar menu - joaodagraca Page & Category Menu Bars 1 Aug 6, 2009 04:00 AM


All times are GMT -6. The time now is 07:33 PM.


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