Hey @NickLanglois I took a look.
So you are missing a couple of things:
-First of all, the method I created requires Jquery and I do not see that library loaded into your page, unless you added it to your site-wide custom code section but I can’t see that area through a read-only link.
-Second, this makes use of using other buttons that are not the native Webflow slider navigation buttons. If you want to use this method you must add your own buttons for ‘Next’ and ‘Back’ navigation. The following is a screenshot from your custom code section in page settings:
I’ll summarize how this works and relate it to what you have in your project:
-When the
Trigger
is clicked, it forces a click event on the
Target
.
-The page recognizes the
Trigger
and the
Target
because we are calling them using selectors. The green boxes indicate your
Triggers
, the red boxes indicate your
Targets
.
-The code I have provided is set up for you to add the id’s (
#outer-next
,
#outer-back
,
#inner-next
,
#inner-back
) to your buttons. When you add them to your elements,
do not include the
#
. You can add id’s to elements in the settings panel of each element.
-The native Webflow slider buttons, meaning the ones named
Left Arrow
and
Right Arrow
need to have the tags that start with
inner
. Your buttons that you want to be the navigation for your slider need the tags that start with
outer
.
What I can tell that you need:
-Load JQuery into your site using a script tag, a complete tag you can copy and paste is in my tutorial post.
-You need other buttons to control your slider navigation.
-You need to add the ID’s to the appropriate buttons.
I recommend adding all of the <script>
elements in the section that is called Before </body>
tag. Leave the <style>
tags in the head. I neglected to explain this in my tutorial post and I will update it.
<style>
.sb-slider-nav-parent{
backdrop-filter: blur(10px);
}
</style>
This part using backdrop-filter
is strictly cosmetic for something that isn’t actually on my page anymore, you don’t need it in your code for this to work.
In case you don’t know, nothing you add into the custom code area of the page settings or site-wide settings will show up on your designer preview. It will only show up on the published sites.