Close

fix height for home_page_main_slider

nopmstr2014
10 years ago
#8464 Quote
Avatar
  • 35
Hi 
What are the dimensions of this home page banner ?
 Zone home_page_main_slider

Any image I upload, plugin will automatically display in a default size.This banner is occupying too much height and we are unable to sell more 

Can we change the height of this zone?

Thanks 
Stefan
10 years ago
#8473 Quote
Avatar
  • 157
Hi nopmstr2014,

There is no fixed dimensions for the slider as it is responsive, meaning that it will auto scale proportionally. So it will stretch to the whole width of the screen and it will be auto scaled on height proportionally. The way to reduce the height is either to reduce the width so that when resized the slider will be with less height, or the other way is to edit your image to be less high.

One approach you can try is to change the widget zone of the slider to be "home_page_top" . Thus the slider will be placed in the main column on the home page and will not stretch to the whole width of the site.

Another way is to set width of the slider via css and it will be resized to that size. So for example if you set a width of the slider wrapper, i.e. 

.home .slider-wrapper {width: 1600px; margin 0 auto;} for the Nitro theme your slider will be resized to 1600px wide and thus the height will be smaller.

The third option is to change the proportion of your image, so that when resized proportionally the height is not so much.

Hope that helps!
Best Regards,

Stefan Hristov
Nop-Templates.com