• Resolved nilskamm

    (@nilskamm)


    Hey!
    I try to use smart slider 3 with the pique theme to have a slider which goes over the whole width of the content. which is less than the full browser width. The “Adjust slider width to parent selector” sounds perfect for that. But it doesn’t matter what selector i use. There is just no change. I tried the following so far:
    body
    document.body
    article#post-108
    div.pique-panel-content

    Do i maybe use the selectors wrong? I found the explanation in your documentation but sadly no example.

    Thanks a lot!
    Nils

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Gabor

    (@nextendweb_gabor)

    Hi @nilskamm!

    article#post-108 should work for you, just you also have to enable the “force full width” option:
    https://smartslider3.helpscoutdocs.com/article/399-responsive-mode-fullwidth

    The way this code works is, that you should always find a parent element for the slider, where the width of the element is what you want to fill in (without margins and paddings, so just the width matters). In your case what you tried would work for this slider:
    article#post-108
    like this too:
    #post-108
    but you could also use a higher parent element, like any of these:
    #main
    #primary
    #content
    #page
    which are parents for all your contents. I suggest using any of these higher selectors, because when you will create new sliders, you could just insert the same selector for all your sliders and you wouldn’t have to search for the exact #post-[number] selector.

    Thread Starter nilskamm

    (@nilskamm)

    Works perfect. Had “force full width” deactivated because i thought they are seperated settings. Now it works perfect and i choosed an element without the post number.

    Thanks a lot!

    • This reply was modified 4 years, 9 months ago by nilskamm.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adjust slider width to parent selector doesn’t work with the theme Pique’ is closed to new replies.