Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest
Report bugs, Userguide, New Ideas..
  • Page:
  • 1
  • 2

TOPIC: Menu Image Alignment

Menu Image Alignment 12 years, 6 months ago #1811

I'm in need to align the menu images to the right instead of left.

Where can I control the menu image alignment?

By looking at Mega Menu module options, there's no such settings, so I assume it's somewhere in the CSS.

Re: Menu Image Alignment 12 years, 3 months ago #2867

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear zen,

please do the following steps:

- open the default.php file in "your_root_site\modules\mod_ytmegamenu\menusys\class\mega\tmpl" and find:

	  $mega_icon = "<span class=\"menu-icon\" style=\"background-image:url({$baseuri}/images/stories/{$sys_image});\">";
	


change to:

	   $mega_icon = "<span class=\"menu-icon\" style=\"background:url({$baseuri}/images/stories/{$sys_image}) no-repeat scroll right 10px transparent;\">";
	



- open the default.php file in "your_root_site\modules\mod_ytmegamenu\menusys\class\vmega\tmpl" and find:

	 $mega_icon = "<span class=\"menu-icon\" style=\"background-image:url({$baseuri}/images/stories/{$sys_image});\">";
	


change to:

	  $mega_icon = "<span class=\"menu-icon\" style=\"background:url({$baseuri}/images/stories/{$sys_image}) scroll right 10px transparent;\">";
	



- open the ytmenu.php file in "your_root_site\modules\mod_ytmegamenu\menusys" and find:

	 $menu_image_open = "<span class=\"menu-icon\" style=\"background-image:url({$menu_image_url});\">"
	


change to:

	 $menu_image_open = "<span class=\"menu-icon\" style=\"background:url({$menu_image_url}) scroll right 10px transparent;\">";
	


- open the menustyle.css file in "your_root_site\modules\mod_ytmegamenu\menusys\class\common\css" and find:

		ul.navi span.menu-icon {
			background-position: 0 50%;
			background-repeat: no-repeat;
			display: block;
			padding: 0 0 0 30px;
		}
	


change to:

	
		ul.navi span.menu-icon {
			background-position: 0 50%;
			background-repeat: no-repeat;
			display: block;
			padding: 0 30px 0 0;
		}
	


Thanks
Ticket System | Join our Clubs to download our extensions and templates

Re: Menu Image Alignment 12 years, 3 months ago #2885

Wow, thanks for getting back to me after over 2 months.

Unfortunately, your suggestion did not work unless I made changes in the wrong files since it was not 100% clear as to which file you were referring to.

Re: Menu Image Alignment 12 years, 3 months ago #2887

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear zen,

Maybe you use the old version of mega menu module now.

Please download the latest version on our site and try to do my suggestion.

Thanks
Ticket System | Join our Clubs to download our extensions and templates

Re: Menu Image Alignment 12 years, 3 months ago #2888

As far as I could tell, the version I'm using is 1.0 which I purchased back in January 2012.

Has there been any update since then?

I don't have your membership but I bought the module as a stand-alone product (4 downloads remaining until Apr 9, 2012).

Re: Menu Image Alignment 12 years, 3 months ago #2889

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear zen,

Please submit your ticket to our ticket system.

The best thing is to send the module bought by you to us.

We will support you as soon as possible.

Thanks
Ticket System | Join our Clubs to download our extensions and templates
  • Page:
  • 1
  • 2
Time to create page: 0.23 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