logo
down
shadow

Owl carousel not getting responsive


Owl carousel not getting responsive

Content Index :

this one helps. I got the solution, issue only with version. I used 2.0 (new version) but owl responsive was not working. Now when i replaced with 1.3 then it it working.

Comments
No Comments Right Now !

Boards Message :
You Must Login Or Sign Up to Add Your Comments .

Share : facebook icon twitter icon

Tag : javascript , By : Kubla Khan
Date : March 29 2020, 07:55 AM
With these it helps Ok so...
I found that the js just added iline css properties, so I added some css to make it responsive (without resizing my images, which works by now for my needs). CaroFredSel adds some classes to the code you write so all I needed to add was the width:100% !important property to make it work.
function highlight( items ) {
    items.filter(":eq(1)").css({
        opacity : 1
    });
    return items;
}
function unhighlight( items ) {
    items.css({
        opacity : .3
    });
    return items;
}
scroll: {
items:1,
onBefore: function( data ) {
        unhighlight( data.items.old );
    },
    onAfter : function( data ) {
        highlight( data.items.visible );
    },
},

auto: false,
prev: {
    button: "#prev",
    key: "left",
    onBefore: function( data ) {
            unhighlight( data.items.old );
        },
        onAfter : function( data ) {
            highlight( data.items.visible );
        }
},
next: {
    button: "#next",
    key: "right",
    onBefore: function( data ) {
            unhighlight( data.items.old );
        },
        onAfter : function( data ) {
            highlight( data.items.visible );
        }
},
highlight( unhighlight( $j("#f-carousel > *") ) );

Tag : twitter-bootstrap , By : JackIT
Date : March 29 2020, 07:55 AM
this will help Your carousel controls are functioning properly, but they are underneath a div. I quickly defined a z-index on your left and right carousel-control to get them working.

Tag : css , By : Aki Björklund
Date : March 29 2020, 07:55 AM
To fix this issue As stated above, I stripped down the cssscience example and I have placed it in this fiddle:
http://jsfiddle.net/6Tx3T/
  #slide1:checked ~ #slides .inner { margin-left:0; }
  #slide2:checked ~ #slides .inner { margin-left:-100%; }
  #slide3:checked ~ #slides .inner { margin-left:-200%; }
  #slide4:checked ~ #slides .inner { margin-left:-300%; }
  #slide5:checked ~ #slides .inner { margin-left:-400%; }

Tag : jquery , By : Myatus
Date : March 29 2020, 07:55 AM
hop of those help? I hope, found solution for pause/stop carousel on touching mobile and tab devices.
What i did is, just added the below code in jquery.flexisel.js. This file is included in the flexisel package itself.
taphold : function() {
    canNavigate = false;
},
if (settings.pauseOnHover == true) {
                $(".nbs-flexisel-item").on({
                    mouseenter : function() {
                        canNavigate = false;
                    },
                    mouseleave : function() {
                        canNavigate = true;
                    }
                });
            }
if (settings.pauseOnHover === true) {
                $(".nbs-flexisel-item").on({
                    mouseenter : function() {
                        canNavigate = false;
                    },
                    taphold : function() {
                        canNavigate = false;
                    },
                    mouseleave : function() {
                        canNavigate = true;
                    }
                });
            }

Tag : javascript , By : Gilmar Souza Jr.
Date : March 29 2020, 07:55 AM
Related Posts Related QUESTIONS :
  • DELETE http://localhost:8000/product/[object%20Object] 500 (Internal Server Error)
  • Comparing two string arrays and returning key of not found element using jquery
  • using jquery to change list items is changing all list items, when i want to only change one list item
  • Sending a Json data from my html page to a php
  • Click function to search a specific element in a Json object
  • Bootstrap 4 - Progress Bar Progression
  • how to deleted item materialize chips
  • jQuery - Hide non-active elements using filter()
  • Adding style to string table is not working
  • Github merge multiple files into single compressed master file
  • Replace characters in a field on page load
  • Unable to send data from Form to SQL database
  • If all divs have same style, remove element
  • How to click a jQuery Dialog button in TestCafe
  • Cannot reinitialise DataTable with Angular Datatable
  • How to add Class active on Click in Navbar
  • how to call fail method into jquery.get/post success method?
  • Slider with tabs
  • Jquery Get parent element from data function
  • Ho to put a new line in <p> tag in my jquery?
  • How can I use a text value as a mathematical operator?
  • DataTable columns values showing Only DefaultContent
  • JQuery select dynamically added elements
  • How to change an image source on hover?
  • How to bind jquery event to dynamically added multiple DOM elements?
  • How to get td values and store in array using Jquery?
  • How to add handler to dinamically created tr in JQuery?
  • How to Covert Html to PDF in Jquery?
  • Jquery before() and after() used to create a <div> container not inserting closing tags in after()
  • I want to delete previously added class
  • Open html page in same window after clicking on navlink
  • Datatable is not working when I populate table using smarty
  • How to change image based on the offset top of the content div
  • Find the index of table column with specific id
  • How to return value of $(window).resize()
  • How to optimize adding numerous elements dynamically into web page
  • Content slide down on top of page?
  • How to write if statement for when a specified option is selected in select tag in JQuery
  • HTML tags remove from textarea using jQuery
  • ShareThis not display properly when initially hidden
  • jquery - Bind datepicker event
  • How can I cause an element to move on mouse scroll using transform matrix?
  • How to add Custom summaries for autogenerated colums?
  • How to update table row with data from an array using jQuery
  • Cannot get the element in jQuery
  • How to search for two values in array at the same time?
  • Creating a floating document property control that is available in all tabs of Spotfire dashboard
  • Add a "wrapper" div tag to wrap other html div tags?
  • Reload form if I get an error when validate email
  • jQuery animate height in percentage scrolls to the top
  • How to add class for per string after comma?
  • ("ID").Value not working in ASP.net user control
  • HTML Color-picker with colors box
  • Initialize Kendo Grid grouped
  • jQuery click event triggers for all picture objects
  • addClass with the full match of id in jquery
  • Function is not called on click
  • jQuery ajax.error() for all errors except 403
  • Disable other option in same div, when first one is selected
  • How to clear input text
  • shadow
    Privacy Policy - Terms - Contact Us © scrbit.com