Jump to content

Full width container


Rajmidas

Recommended Posts

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

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 by Nishith (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...