Himu – Free Responsive Bootstrap Template

  • ivanov ibu

    1 year ago

    How to Change Height slider id Home?

    • Rubel Miah Staff

      1 year ago

      Hi,
      It’s a window height, If you set custom height please remove the code from js>main.js

      jQuery(window).load(function(){‘use strict’;

      // Slider Height
      var slideHeight = $(window).height();
      $(‘#home .carousel-inner .item, #home .video-container’).css(‘height’,slideHeight);

      $(window).resize(function(){‘use strict’,
      $(‘#home .carousel-inner .item, #home .video-container’).css(‘height’,slideHeight);
      });

      });

      Then set your custom height.

      Thanks.

  • haiku23

    7 months ago

    Hi I want to make the carousel responsive in order for the image to be full at mobile too, I manage to do it by changing the background-size from “cover” to “100%” in the main css. But the height is still the same. I am a total noob, I am an student actually, so I kind of understand Rubel answer, I mean if I remove the code from the main.js I can add my own height, but I don’t know how to do it. Can you explain to me?

Leave a Reply

Total Downloads2160

Item Attributes

  • Released Date: 26 October, 2015
  • Last Updated: 31 May, 2016
  • Current Version: 1.0
  • Type: HTML Template
  • Category:
  • Layout Type: Responsive
  • Retina Ready: No
  • Bootstrap: Bootstrap 3.x
  • Browsers: Chrome, Firefox, Safari, Opera, IE9+
Member since Oct 10, 2015
View Portfolio Contact