Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

tag ALT in image menu
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: tag ALT in image menu

tag ALT in image menu 11 years ago #14104

Hi,
in my menu i insert the image, but the alt tag for image don't work
this is the code i see in firebug
<span class="menu-icon">
<img src="/images/Star_15.png" alt="">
<span class="menu-title">Outlet e Spacci</span></span>
my site www.outletscout.it

thanks
Last Edit: 11 years ago by ale0178.

Re: tag ALT in image menu 11 years ago #14185

news for this question ?

Re: tag ALT in image menu 11 years ago #14254

Dear ale,

You can insert the alt tag for image in : Menu Manager: Edit Menu Item -> Advanced Options -> Link Type Options -> Link Title Attribute
Please go to your_site\templates\sj_plus\menusys\ytmenu.php and find:

$menu_image_open = "<span class=\"menu-icon\">
									<img src=\"{$menu_image_url}\" alt=\"\" />
				";
$menu_image_close= "</span>";


=>

$menu_anchor_title = $tmp->params->get('menu-anchor_title');
				$menu_image_open = "<span class=\"menu-icon\">
									<img src=\"{$menu_image_url}\" alt=\"{$menu_anchor_title}\" />
				";
				$menu_image_close= "</span>";


Thanks!
  • Page:
  • 1
Time to create page: 0.21 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes