• Resolved gremlinos

    (@gremlinos)


    Hello

    Is it possible to change the slider image scale to work only since width is lower than 1366px (sth like media quaries). So for example i set an image width to 1920px but i want it to start scale only if my browser is under 1366px.

    btw nice plugin 😉

    Regards
    Dominik

    http://ww.wp.xz.cn/plugins/meteor-slides/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Josh Leuze

    (@jleuze)

    Hi Dominik, the slideshow doesn’t have breakpoints it just scales to whatever size the container of the slideshow is. So if the container is 1920px wide, that’s how wide the slideshow will be, and so on.

    If you want it to stay that size and then start shrinking at 1366px, you can put the slideshow in another div container and add breakpoints for your container.

    Thread Starter gremlinos

    (@gremlinos)

    Thanks for so fast answer but im not sure if i get it it. Could You give some example?

    Regards
    Dominik

    Plugin Author Josh Leuze

    (@jleuze)

    It depends on what exactly you’re trying to do.

    Thread Starter gremlinos

    (@gremlinos)

    I have set of images with width set to 1920px. I need them to stay with the same dimensions. But when i resize my browser to 1366px width than i want to see responsive feature works. So my image stay with same, declared in plugin option, dimension until i resize my browser under 1366px. Than it should scale the slider (same as it works by default).

    I use foundation 4 for my grid.

    Regards
    Dominik

    Plugin Author Josh Leuze

    (@jleuze)

    Do you have an example of a site with a slideshow that works like this?

    Thread Starter gremlinos

    (@gremlinos)

    I dont have any site example. So if its a problem how can I easy turn off slider image scaling.

    Plugin Author Josh Leuze

    (@jleuze)

    It’s not really a problem, just pretty custom. Nothing has to be changed with the slideshow, it will scale or not, depending on the container it is in. So if you create a custom div container with the slideshow in it like this:

    <div id="meteor-slideshow-wrapper">
    	<?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?>
    </div>

    Then you could style that wrapper however you need it and the slideshow will scale to fit it. If the slideshow was 1920×400, you could add some CSS like this to keep it from shrinking:

    #meteor-slideshow-wrapper {
    	height: 400px;
    	width: 1920px;
    }

    And you could add a media query if you wanted it to start shrinking below a certain point.

    Thread Starter gremlinos

    (@gremlinos)

    it works but now i have problem with centering :/ I think best results would be when images are set as div background…

    Plugin Author Josh Leuze

    (@jleuze)

    You can do that with a custom slideshow template if you need to.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Modification of responsive feature’ is closed to new replies.