Adding text to the main menu

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Jan 17, 2014 12:47 pm
Reply with quote
Report this post
Hi,

I'm trying to add some text onto the main menu ( which I believe is #gkMenuWrap ? ) but am unsure as to how to do this. I've had a look around some of the pages in the template directory but can't seem to figure it out. How would I do this?

Thanks

Cush
User avatar
Fresh Boarder

GK User
Fri Jan 17, 2014 4:22 pm
Reply with quote
Report this post
Hi,
it's easy, of course if you know it.
Just use: New Menu item --> System links --> External URL --- and there add your #abc
User avatar
Platinum Boarder

GK User
Fri Jan 17, 2014 5:25 pm
Reply with quote
Report this post
Hi Pawel,

Sorry I think I explained the problem badly, I'm not looking to add a new menu item, I'm looking to add text which will appear on the menu when the mobile view is active, but hidden when it's not. I know the CSS to handle this, I just need to know where to place the actual text/html

Thanks

Cush
User avatar
Fresh Boarder

GK User
Sat Jan 18, 2014 9:36 pm
Reply with quote
Report this post
Sorry, but by default...
if you are using this same Menu - is not possible,
it's possible only for modules - we have special suffix for it.

:idea: But there is a small trick - but you have to know ID of this menu item (check in Menu Manager).
Then you have hide this item, when screen size is bigger than ....px - it depends by you.
Check this file: gk_cloudhost\css\mobile.css
there you will find "@media only screen and...' rules, and read more about this CSS feature.
User avatar
Platinum Boarder


cron