How to Style Sub Menus ?

GK User
Wed Jul 13, 2016 6:05 am
Hello there,

i need to customize the sub menus in Gavick University template, it looks pretty blank when its black text in white background, it would be great if i can add a background color (or a gradient image for each items background)

Please see the image below,
Image

That kinda look i am thinking of doing on my website,

Thank you and Best Regards,
User avatar
Senior Boarder

teitbite
Mon Jul 18, 2016 11:42 am
Could you please provide me with a URL to your website, either here or via PM (click the “Private Message” text underneath my avatar) so that I may analyze it? It is a lot easier for us to diagnose issues when we have a live site to examine.
User avatar
Moderator

GK User
Mon Aug 01, 2016 6:25 pm
I have send you the URL as a PM,
User avatar
Senior Boarder

teitbite
Sat Aug 06, 2016 12:43 pm
Hi

Ok. It's not as easy as I thought ;/

Here if You can do something with a single background fro all submenu:
Code: Select all
.gkMenu > ul li div.childcontent {
    background: red none repeat scroll 0 0;
    border: 1px solid blue;
}

.gkMenu > ul > li > .childcontent .gkcol {
    border-left: 1px solid blue;
}


If You want each menu element to be different try this code:
Code: Select all
.gkMenu ul ul {
    padding: 0;
}

.gkMenu > ul li div.childcontent .header {
    margin: 0;
    padding: 0;
}

.gkMenu > ul li div.childcontent li {
    margin: 0;
    padding: 0;
}

.gkMenu > ul li div.childcontent a {
    color: #fff;
    padding: 7px;
    background: tan;
    border-bottom: 1px solid pink;
}
User avatar
Moderator


cron