[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, Thank you |
try using a border of 10 px and make the border color the same as the menu background
|
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 Quote:
|
Quote:
|
Quote:
Code:
ul.rMenu li a:link, I wish that all the button area is selectable and not just text. |
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 { |
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 { and you see the difference between the two types of buttons... :confused: |
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.
|
With Firebug, actually, I realized the type of problem and I was already working on it but this weekend I went to relax in the mountains. :)
Now, however, seems to work. I have followed this steps for a padding of 10 pixels of increment of size of the buttons: 1) I added 10 pixels to the right of the arrows (11 to 21 pixels total) wich is the same dimension of the padding 2) I inserted the code Code:
#rmenu2 li a, #rmenu li a{ Thank you for supporting. |
All times are GMT -6. The time now is 11:20 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.