Centering menu and submenu (and a couple others)

GK User
Thu Mar 03, 2011 2:33 am
So I'm working on a mockup here: http://www.joefreelance.com/perrymockup/ and am having issues trying to get the main menu to be centered on the page without all the padding. The same goes for the dropmenu/submenu (appears under Milou Paintings). I'm trying to get that to be centered also.

Any ideas? I've been Firebugging the heck out of it and can't seem to find the solution.

Also, how do I change the fontsize, etc on the dropmenu?

Last, how do I put a little space between the dropmenu and the banner1 (the area with the I am Perry... text)

Thanks, I'm really enjoying learning Joomla thanks to your templates.

Joe in Atlanta.
User avatar
Expert Boarder

teitbite
Thu Mar 03, 2011 4:21 am
Hi

You will not center menu. All You can do is to add a margin on the left (for example) to make it display in center.

Font size can be change by adding that code to css:

Code: Select all
#gk-subnav > div > ul > li a {
    font-size: 20px;
}


The gap can be made with that code:

Code: Select all
#gk-subnav {
    margin-bottom: 20px;
}
User avatar
Moderator

GK User
Fri Mar 04, 2011 1:45 am
Thank you! That did the trick. I appreciate the response.
User avatar
Expert Boarder

teitbite
Sat Mar 05, 2011 6:11 am
Hi

No problem. Glad I could help.
User avatar
Moderator


cron