Rajmidas Posted August 31, 2015 Share Posted August 31, 2015 Hello everyone when i am changing .container in global.css from 1170 px to 100%. the ajax mouse hover effect stops working in home page product list or product content tab. I am not been able to find the reason for that .. Please help me in this regard. Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted August 31, 2015 Share Posted August 31, 2015 (edited) Hello everyone when i am changing .container in global.css from 1170 px to 100%. the ajax mouse hover effect stops working in home page product list or product content tab. I am not been able to find the reason for that .. Please help me in this regard. hi.. goto themes/your-themes/js/global.js appox line 138 problem is there.its check the condition below code. if ($('body').find('.container').width() == 1170) if ($('body').find('.container').width() == 1170) { var pcHeight = $(this).parent().outerHeight(); var pcPHeight = $(this).parent().find('.button-container').outerHeight() + $(this).parent().find('.comments_note').outerHeight() + $(this).parent().find('.functional-buttons').outerHeight(); $(this).parent().addClass('hovered'); $(this).parent().css('height', pcHeight + pcPHeight).css('margin-bottom', pcPHeight * (-1)); } thanks Edited August 31, 2015 by Nishith (see edit history) Link to comment Share on other sites More sharing options...
Rajmidas Posted August 31, 2015 Author Share Posted August 31, 2015 thanks for your help . i got the solution i changed it from $('body').find('.container').width() == 1170) to $('body').find('.container').width() != 1170) its working fine thanks for your support Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now