Hi,
Our recipes are all written as blogs and tagged for easy filtering. There are too many tags to fit on the desktop page and customers cannot scroll left to right so they can reveal more. Is it possible to add an arrow to manually click left or right so customers can scroll and find more options?
Website Page: https://www.olivelle.com/blogs/recipes
Thanks!
1 Like
@Rikkipilewski
oh sorry for that issue its possible make customization code for slider arrow left and right but you need simple code its possible css can you just add more filter and let me know i will check and let you know code
@KetanKumar I have been trying to figure out a code but cannot. If you can help me with that to create buttons like the focal theme uses in other areas of the website that would be great!
1 Like
yes you can do this using slick slider
step 1. duplicate your theme
and open edit code for duplicated theme
step 2. add these code in to just before closing tag in theme.liquid
step 3. add these code in to just before closing tag in theme.liquid
<script type="text/javascript">
$(document).ready(function(){
$('.link-bar__linklist').slick({
dots: false,
infinite: true,
speed: 500,
slidesToShow: 13,
slidesToScroll: 1,
responsive: [
{
breakpoint: 1024,
settings: {
slidesToShow: 7
}
},
{
breakpoint: 600,
settings: {
slidesToShow: 4
}
}
]
});
});
</script>
@Rikkipilewski
great please confirm look and add code
- Go to Online Store->Theme->Edit code
- Asset->/theme.css ->paste below code at the bottom of the file.
.shopify-section--main-blog prev-next-buttons.link-bar__prev-next.prev-next-buttons.hidden-pocket {
position: absolute;
left: 0;
right: 0;
z-index: 1;
display: flex;
justify-content: space-between;
}
@KetanKumar That is how I would like the page to look. However, when I paste the code to the bottom of the theme.css nothing changes
1 Like
@Rikkipilewski
oh sorry but i can’t see code
I have had a look at your blog.
Rather than adding left and right button, you may consider adding dropdown filter for easier recipes filtering and better user experience using the Blog Articles Filter Search PRO app.
You can easily group your article tags like Protein: Beef / Chicken / Fish and so on.
Here is a demo or you can try the app from Shopify app store here.
