WordPress.org

Ready to get started?Download WordPress

Forums

bxSlider integration for WordPress
[resolved] Image Size Scaling (3 posts)

  1. Teke
    Member
    Posted 1 year ago #

    When I resize the window/viewport, the image remains the same size as opposed to the original BX-Slider that would change the image size along with the window. Is there any markup I can add to have this effect? Thanks

    http://wordpress.org/extend/plugins/bxslider-integration/

  2. Vincent Mimoun-Prat
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    The slider on that page is made with this plugin. I think your CSS might be preventing the image to get resized (maybe the container has a fixed width?)

  3. Teke
    Member
    Posted 1 year ago #

    Hello,

    Thanks for the quick response. My issue is when I have multiples images on a single slide, as below:

    http://www.boxanium.com/equipment/

    As you can see, when you decrease the viewport, the images stay the same size up to a certain point. Also the images are vertically aligned due to display:block, but when I change it to display:inline, it does align horizontally. However, rather than resizing with the slider container, it would drop to the next line.

    Again, thanks for the quick response, and hope to hear from you soon.

    EDIT: I figured out the solution by wrapping each img in a <div style="float:left; max-width:25%;">. The max-width would vary on how many imgs you want for each slide.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic