We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32025
    • 305 Posts
    Quote from: wintertribe at Oct 01, 2014, 02:55 AM
    Hi,

    How about responsive sites? Width and height is required for images? How to set image width to 100%?

    Go to: Elements (Tab)> Chuncks> SlideShowManager (Folder)> nivo_headTpl (chunck).

    Find:
    #slider-wrapper {
        width:[[+file_width]]px;
        height:[[+file_height:add=`60`]]px;
    }
    
    #slider {
      position:relative;
        width:[[+file_width]]px;
        height:[[+file_height]]px;
      background:url([[++assets_url]]/components/slideshowmanager/nivo-slider/demo/images/loading.gif) no-repeat 50% 50%;
    }
    


    Change to:
    #slider-wrapper {
        width:100%;
        height:100%;
    }
    
    #slider {
      position:relative;
        width:100%;
        height:100%;
      background:url([[++assets_url]]/components/slideshowmanager/nivo-slider/demo/images/loading.gif) no-repeat 50% 50%;
    }
    


    Just make sure to upload all your images of the same size since your container is going to resize according to your image size. Also make sure whatever size you decide to use for your album, that your default album dimensions are set to match. You can find this under: Album> Right click your created album)> Update Album> Width and Height.

    If your template is responsive, then now your slideshow should also be responsive. At least mine was during my testing.
      Making the web a better place on site at a time! Dayton Web Design: http://www.dayton-web-design.com/
      • 50675
      • 13 Posts
      Quote from: wbbuilder at May 04, 2015, 10:55 AM
      Quote from: wintertribe at Oct 01, 2014, 02:55 AM
      Hi,

      How about responsive sites? Width and height is required for images? How to set image width to 100%?

      Go to: Elements (Tab)> Chuncks> SlideShowManager (Folder)> nivo_headTpl (chunck).

      Find:
      #slider-wrapper {
          width:[[+file_width]]px;
          height:[[+file_height:add=`60`]]px;
      }
      
      #slider {
        position:relative;
          width:[[+file_width]]px;
          height:[[+file_height]]px;
        background:url([[++assets_url]]/components/slideshowmanager/nivo-slider/demo/images/loading.gif) no-repeat 50% 50%;
      }
      


      Change to:
      #slider-wrapper {
          width:100%;
          height:100%;
      }
      
      #slider {
        position:relative;
          width:100%;
          height:100%;
        background:url([[++assets_url]]/components/slideshowmanager/nivo-slider/demo/images/loading.gif) no-repeat 50% 50%;
      }
      


      Just make sure to upload all your images of the same size since your container is going to resize according to your image size. Also make sure whatever size you decide to use for your album, that your default album dimensions are set to match. You can find this under: Album> Right click your created album)> Update Album> Width and Height.

      If your template is responsive, then now your slideshow should also be responsive. At least mine was during my testing.

      That's great, thank you very much for that, responsiveness works well so far but I have an issue. I so have done the basic usage instructions and all I get is a loading icon in the middle of the slideshow. I've uploaded images into the album as well. Do I have to manually host the nivo jquery files myself? I noticed it said in the features it was built in?
      Thanks for your help in advance.