• Resolved halukkuruoglu

    (@halukkuruoglu)


    Hello,
    Thank you for this great plugin, there is all I need except this:
    I cannot leave empty or set auto image width. I need that images on the carousel have the same height but variable width. Now it is the opposite.
    I saw that owl carousels have this option. How will I do that?
    Thank you for your help.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author thehowarde

    (@thehowarde)

    This is not yet available, I can add this in a future release. In the meantime, there is a way to filter the script used on a carousel, and include this option.

    You can use the filter dd_filter_owl_carousel_script

    First, you should inspect your page, and find the script… you can search for “.owlCarousel” on the page, where you’ll see the entire jQuery script. Copy that… then update the code snippet linked below… Paste your script instead, and just add the property

    'autoHeight':true

    https://gist.github.com/DuckDivers/05d65a0fe8518204cdae1ffc395cbead

    This is a valid workaround until I can update the plugin to add this option. I’ll need to work it into my schedule.

    • This reply was modified 3 years, 12 months ago by thehowarde.
    • This reply was modified 3 years, 12 months ago by thehowarde.
    Thread Starter halukkuruoglu

    (@halukkuruoglu)

    Thank you @thehowarde for your quick reply,
    I made it like you said with no luck, then I realized that what I want is not autoHeight but autoWidth; so I changed it to true and it worked!
    So thank you very much, may be I wasn’t clear enough what I needed but you show me the way.
    Please do add autoWidth property modifiable when you implement this update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘variable width?’ is closed to new replies.