Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Drop down menu

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-27-2011, 06:42 AM
  AIEGaming's Avatar 
AIEGaming AIEGaming is offline
 

Advanced Member
  
Join Date: Nov 2010
Posts: 41
 

Default Drop down menu

This issue isn't entirely X-Cart related but I haven't been able to figure it out and thought maybe someone here could help.

We've been doing some additional customization to our X-Cart store and recently we realized our drop down menus aren't functioning correctly although they used to work perfectly. If you maximize your browser screen and go to our website (aiegaming.com) and put your mouse over the headers for the drop down menu (Wii, DS, Xbox 360 etc.) the actual drop down menus are shifted to the right.

If you're browser is not maximized, the drop down menus appear directly below the headers, as they should. Another thing that's odd is that if you add a product to your cart and go to the checkout page (even if your browser is maximized) the drop down menu works perfectly as well.

So the issue is that for some reason, on the main page with a maximized browser the drop down menus are shifted to the right and I can't figure out why. I've restored the drop down menus to backup files from months ago when I know for a fact the menus worked fine but the issue remains. I've also checked the CSS files and everything there looks fine as well. Does anyone have an idea on what could be wrong?
__________________
version 4.4.2
Reply With Quote
  #2  
Old 12-27-2011, 07:26 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Drop down menu

I can shed a little light on this I think. It is a css issue, but it looks like it is defined in the template and not in the css file. The reason it works on the cart page is that whatever conflicting css rule is not called there. The cart and checkout pages use different templates than the rest of the site.

I have made a cursory inspection only, and the fix is not easily detectable. If you like I can fix this problem for you, but it would take some detailed investigation.

-Mike
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #3  
Old 12-29-2011, 09:52 AM
  AIEGaming's Avatar 
AIEGaming AIEGaming is offline
 

Advanced Member
  
Join Date: Nov 2010
Posts: 41
 

Default Re: Drop down menu

I used a backup file for 2-columns/css/altskin.css and common_files/css/main.css but that didn't work. Is there another css file that could be causing the issue?
__________________
version 4.4.2
Reply With Quote
  #4  
Old 12-29-2011, 11:08 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Drop down menu

There are an awful lot of styles being applied that are not defined in the css templates. I am looking at the source of the menu, and everything from width to z-index looks like it is being called directly on the page. That might be the source of the problem.
See here:
Code:
<div id="TransMenu16" class="transMenu top" style="width: 189px; height: 41px; left: 774px; top: 240px; z-index: 123; visibility: hidden; "><div class="content" style="width: 187px; height: 39px; top: -39px; ">
And here is another css file:
<link rel="stylesheet" type="text/css" href="css/transmenu.css" />
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:00 AM.

   

 
X-Cart forums © 2001-2020