The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Use FlexSlider for Fullscreen BG Images?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #40312

    Hello All-

    I have been trying to use CSS to format the woothemes FlexSlider to scroll through fullscreen background images, similar to the Supersized! plugin ( ). I would just use the Supersized! plugin, but I am looking for the functionality of the FlexSlider for use with tablets etc. I have tried giving the containing div a max-height and width of 100%, but no luck so far. Any suggestions?



    body, html{
    height: 100%;
    padding: 0;
    margin: 0;
    display: block;
    position: relative; //fixed or absolute may be needed
    height: 100%!important;
    overflow: hidden!important;
    width: 100%!important;

    .flexslider .slides,
    .flexslider .slides li{
    width: 100%!important;
    height: 100%!important;

    .flexslider .slides img{
    min-height: 100%;
    min-width: 100%;
    max-width: 10000%!important; //over ride any existing responsive image styling
    margin: 0 auto!important;


    The issue is that the aspect ratio is not retained at small sizes.
    If you don’t mind some extra javascript, plugin this bit of jQuery:

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.