0

I want to change default front page sensenet slider,which should cover full page of browser.I changed height of slides to 100% in file system and content explorer i also added li{height:100%} and img{height:100%}enter image description here I also want to hide/remove by default slider name which show on images.

Aniko Litvanyi
  • 2,109
  • 1
  • 21
  • 25
sameer
  • 17
  • 6

1 Answers1

0

There're two things to modify:

Open /Root/Global/renderers/Slider.ascx and change 'snmaxheight' in the slider config (line 117.)

snmaxheight: window.innerHeight

Add the following to the slider .css file (/Root/Global/styles/snSlider.css)

.orbit-container li .text {
    display: none;
}
Aniko Litvanyi
  • 2,109
  • 1
  • 21
  • 25
  • i also commented

    <%= content["DisplayName"] %>

    for hide slider title.
    – sameer Mar 10 '17 at 10:33
  • ok, I think it's not necessarry because it's in the .text container – Aniko Litvanyi Mar 10 '17 at 10:34
  • It coming full screen in Google Chrome but not in Mozilla Firefox – sameer Mar 10 '17 at 10:35
  • why the same changes behaving differently for different browsers? – sameer Mar 10 '17 at 11:02
  • The slider is an third-party javascript library in sensenet. For further information about this browser issues try to ask for or find help under orbit and zurb-foundation tags here on stackoverflow. For example here is another thread about slider height http://stackoverflow.com/questions/42302922/orbit-100-height-over-100-widht-slider-zurb-foundation-169-43 – Aniko Litvanyi Mar 10 '17 at 11:13
  • I am keeping this issue on hold for sometime. – sameer Mar 11 '17 at 10:14