Allign text under image in menu

GK User
Fri Nov 27, 2015 10:23 am
Hi,

i have a main menu in position bannertop with the css you provided to display it horizontal:
#gkBannerTop ul.menu li {
display: inline-block;
margin: 10px;
padding: 5px;
}
#gkBannerTop ul.menu li:hover {
padding: 5px;
}

How can I display the text from the menu item below the image? I'd like to have it centered under the image.
User avatar
Fresh Boarder

GK User
Fri Nov 27, 2015 5:13 pm
Could you please post an url to your site?
User avatar
Moderator

GK User
Fri Nov 27, 2015 7:02 pm
the site is http://www.nicotabor.com/index.php you will have to login first, the credentials are
****
****
User avatar
Fresh Boarder

GK User
Sun Nov 29, 2015 11:28 am
I'm not pretty sure if I understand right, but please check this code:
Code: Select all
.menu li a img, .menu li a span {display: block;}

in override.css
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.