Menu alt tag

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
Mon May 20, 2013 4:34 pm
Reply with quote
Report this post
Hi Is it possible to remove the alt tags from the menu?
Wondering also if it woukd be possible to add the logo to left of the home button in the mainmenu position?
Thanks in advance Joe
User avatar
Junior Boarder

GK User
Mon May 20, 2013 4:55 pm
Reply with quote
Report this post
There are no alt tags inside menu. Maybe you meant title atribute?
As about the logo... You could edit /templates/gk_corkwall/layouts/default.php
and add img after line number 88. Just remember to add a class to it, ant then float that element left in override.css (enable it first in template settings)
User avatar
Moderator

GK User
Mon May 20, 2013 6:00 pm
Reply with quote
Report this post
Cyberek wrote:There are no alt tags inside menu. Maybe you meant title atribute?
As about the logo... You could edit /templates/gk_corkwall/layouts/default.php
and add img after line number 88. Just remember to add a class to it, ant then float that element left in override.css (enable it first in template settings)


Thanks yes I think its the attribute... essentially its the box that appears over the menu with the menu content... (like an image description).
I understand a bit if the other... sounds a bit complicated, but I'll give it a shot! Thanks Joe
User avatar
Junior Boarder

GK User
Mon May 20, 2013 6:53 pm
Reply with quote
Report this post
To remove title attribute, edit file:
/templates/gk_rockwall/lib/menu/GKBase.class.php
and find line number 345 that looks like this:
Code: Select all
$title = "title=\"$tmpname\"";


and replace it with"
Code: Select all
$title = "";
User avatar
Moderator

GK User
Mon May 20, 2013 7:27 pm
Reply with quote
Report this post
Thanks for that buddy... now for the "big" stuff... btw If I wanted to amend the colour of the dropdowns in the main menu (changing from black to white) which file do i edit? I'm guessing its in the css folder?
Thanks again for the help. Much appreciated!
User avatar
Junior Boarder

GK User
Mon May 20, 2013 7:37 pm
Reply with quote
Report this post
You would like to change top menu from black to white, or all dropdowns from white to black?
User avatar
Moderator

GK User
Mon May 20, 2013 7:49 pm
Reply with quote
Report this post
Cyberek wrote:You would like to change top menu from black to white, or all dropdowns from white to black?

White to black please..

On the logo... mixed success. I added the image to the default php and created the class new.
I added this to the override and enabled it. HOWEVER the image is positioned to the lefthand margin not the container. Any idea where I gone wrong?
http://www.cucinadesign.co.uk/index.php
Cheers

Joe
User avatar
Junior Boarder

GK User
Mon May 20, 2013 8:05 pm
Reply with quote
Report this post
Resize image so it has max height: 56px;

And to change menu color:
add to override.css:
Code: Select all
.gkMenu > ul li div.childcontent a {color: #C3C3C3; }
.gkMenu > ul li div.childcontent a:hover {color: #fff}
.gkMenu > ul li div.childcontent {background: #000;}
.gkMenu > ul li div.childcontent li:hover {background: #000;}
User avatar
Moderator

GK User
Tue May 21, 2013 12:11 am
Reply with quote
Report this post
Great stuf!!! thanks
Which file controls the position of the sub menus in retaliation to eachother?
User avatar
Junior Boarder

GK User
Tue May 21, 2013 8:46 am
Reply with quote
Report this post
.gkMenu > ul > li .childcontent .childcontent {
margin-left: 160px;
margin-top: -35px!important;
}

in menu.css
User avatar
Moderator

GK User
Tue May 21, 2013 9:27 am
Reply with quote
Report this post
Genius!!!! Thanks a million!
User avatar
Junior Boarder


cron