Support » Plugin: Smart Slider 3 » Line Up Issue with container

  • Resolved kheiberg

    (@kheiberg)


    Hi,
    Really like Smart Slider 3 so far but I have a line up issue with even container sizes. I have checked with the theme vendor (GeneratePress) and it looks like it is coming from Smart Slider css.

    When I set the theme container size to an even number like 1300 the Smart Slider width is +1 of that. So if the container is 1300 the slider width is 1301. But it is fine for odd numbers like 1295 or 1305.

    Here is a screen shot from dev tools: https://www.screencast.com/t/lHkB2sCss3

    Thanks much, Kris

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

Viewing 1 replies (of 1 total)
  • Plugin Support Gabor

    (@nextendweb_gabor)

    Hi @kheiberg!

    This is happening, because Chrome has a bug we are trying to avoid. Chrome has an issue in its current version, that when there are broken pixels in margins or paddings, so for example 7.5px, then Chrome will render the elements blurry within this parent. Here you can see our bug report confirmed:
    https://bugs.chromium.org/p/chromium/issues/detail?id=936006#c6
    Within our code we are trying to calculate these broken pixels coming from the parent elements and if you look on your screenshot at the n2-padding right before the selected element, you will see, that it has -0.5px left and right margin. This is our code trying to make broken pixels whole, because this way our elements won’t be blurry. We have to compensate this lost 1px by adding it to the size of our slider. It shouldn’t cause any issues, but if you see a problem given by this, please let us know!

Viewing 1 replies (of 1 total)
  • The topic ‘Line Up Issue with container’ is closed to new replies.