Jump to content

How to move Homeslider to top of columns


Recommended Posts

beause it uses col-xs-8 class and it's about 66% width of block.

change it to col-xs-12

 

 

 

 

I found that homeslider js has the next if statement.

 if ($('#htmlcontent_top').length > 0)$('#homepage-slider').addClass('col-xs-8');
else
$('#homepage-slider').addClass('col-xs-12');

I will try to change both to xs-12 and tell you how it goes.  I will remove maintenance so you can firefox dev tool the site directly.- vidaom.com

 

thanks, and hope you can reply to a more effective/efficient way of displaying the homeslider on top of columns.  

 

appreciate your help.

Link to comment
Share on other sites

You need to hook into top of the slider from displayHome to displayTop.

 

It can be achieved through admin panel : modules  -> positions.

 

Select Image slider for home page from drop down menu. Transplant a module and hook into hookdisplayTop and Click on save.

 

Place condition in homeslider.tpl to display only in home page.

 

Set positions as per need.

 

Unhook from hookdisplayHome  if you want to remove.

Link to comment
Share on other sites

You need to hook into top of the slider from displayHome to displayTop.

 

It can be achieved through admin panel : modules  -> positions.

 

Select Image slider for home page from drop down menu. Transplant a module and hook into hookdisplayTop and Click on save.

 

Place condition in homeslider.tpl to display only in home page.

 

Set positions as per need.

 

Unhook from hookdisplayHome  if you want to remove.

Thanks

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...