Images in GKMenu

GK User
Tue Apr 03, 2012 9:54 pm
Hi out there,

using TWN II is fun. But I want to get some images in my topmenu. I installed the pugin (found in rest files) and looked around this forum. Unfortunately I didn´t find a solution yet.

Where must I add my pic to display it in my menu - see his image:
Image

Hope someone can help me...
User avatar
Junior Boarder

teitbite
Wed Apr 04, 2012 5:02 pm
Hi

You can add image with "Additional Class" and css code. For example with class " ico-home" (space in front is important) and than use code pointing to image of Your choice:

Code: Select all
li.ico-home {
background-image:url(../images/ico-home.png);
}
User avatar
Moderator

GK User
Wed Apr 04, 2012 5:03 pm
thx,

I´ll try this.
User avatar
Junior Boarder

GK User
Wed Apr 04, 2012 5:32 pm
3.gif


Hm... selected a menu point, added
Code: Select all
li.ico-home { background-image:url(../images/stories/navi/277421.jpg); }
to additional class, image is on the server it will not be shown.

Another hint?

worried kay
User avatar
Junior Boarder

teitbite
Thu Apr 05, 2012 2:36 am
Hi

This is not the hint I gave You :)

In menu settings You should only have a class name. Like:

Code: Select all
.ico-home


The acctual class which will set the image there should be added to for example override.css file (please remember to allow using of this file in template settings).
User avatar
Moderator


cron