question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

width: 0px on firefox only

See original GitHub issue

Hi, First of all thank you for this plugin. It works perfectly well on IE 11 / Chrome / Opera.

However on Firefox the width of .slick-track and .slick-slides is very small ( 0px, 1px, 13px ) and no images is displayed. I saw some related issue but none with the solution

you can look at it on www.synchromthegame.com (sorry for the unintended publicity)

Here is my init code

        $(".synchrom-screens").slick({
          slidesToShow: 1,
          slidesToScroll: 1,
          centerPadding: "20%",
          dots: false,
          centerMode: true,
          focusOnSelect: true,
          prevArrow: "<div class='prevArrowScreen'><div class='arrow--inner'>&#9664;</div></div>",
          nextArrow: "<div class='nextArrowScreen'><div class='arrow--inner'>&#9654;</div></div>"
        });

slick 1.5.3

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:17

github_iconTop GitHub Comments

3reactions
morenasantacommented, Feb 22, 2017

Hi @Baccanno To fix that issue for firefox browser you need to specify with and heigh:auto for slick-list element. Hope it helps

3reactions
simeydotmecommented, May 8, 2015

Since I’m a lovely fellow and don’t have the heart to just leave you hanging; 😆 type this in to your browser-console:

$(".lightbar").remove();
$(".slick-slider").slick("refresh");

😄 - _works now!_

I don’t know why, but Firefox doesn’t like your <div class="lightbar col-xs-12 col-lg-offset-1 col-lg-10"> </div> 😕

Good luck, Simon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Window column width | Firefox Support Forum
Hello all, I regularly open up pop up windows to do my job, containing lots of column data. Until recently, the columns would...
Read more >
Setting height and width of image to be viewed in firefox only
The width of your block and image are both set to 100%, and so are filling the full width of the browser window....
Read more >
#sidebar { min-width: 0px !important; } doesn't work anymore ...
Min width for the bookmark sidebar doesn't work anymore. I can still expand but not reduce the size of the side bar since...
Read more >
CSS Hacks Targeting Firefox
It targets only Firefox browsers, so you can make CSS exceptions. ... i have hard problem in my firefox css width any advice...
Read more >
"fit-content" | Can I use... Support tables for HTML5, CSS3, etc
1 Firefox does not support the height / min-height / max-height properties, only width . · 2 Firefox supports the -moz-available keyword rather...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found