How to modify the number of slides on Venture Theme homepage?

Solved

How to modify the number of slides on Venture Theme homepage?

MajMae
Excursionist
16 0 4

Hi all,

is there any code for modifying the number of slides on Venture Theme Homepage? The default is 3 sliders,I was hoping to add at least 2-3 more slides any help would be greatly appreciated. 

Many thanks

Accepted Solution (1)

Lilith
Shopify Staff
603 73 190

This is an accepted solution.

Hi, @MajMae!

 

My name is Lilith, I'm on the Social Care team at Shopify.

 

Great question! Although we can't support customizations like this at Shopify, I do have a way to increase that number in the theme code. I've done this on my own personal account before.

 

General advice on customizing themes

 

Because some customizations like this aren't supported by our Design Policy you'll need to reach out to one of our partners to hire them on to correct anything for you.

 

That said, don't test any customizations on your live theme. Some customizations may interfere with other code changes you may have made or apps that have added scripts to your theme before. Test the customizations on an unpublished copy of your theme instead first.

 

Be sure to follow the steps to back up your theme though anytime you do any unsupported customizations to any themes. This way you can easily get your original set up back online right away without any interruptions.

 

Venture's hero slideshow settings

 

Before I get into how to do it, the Venture theme has a maximum of 4 slides that you can add to the main hero slideshow on the theme.

 

Here's how that works to add the maximum number of slides in the Theme Editor:

 

 

alt

 

 

How to increase the max # of slide blocks

 

After you've done your backups you can test this quick customization out on your theme copy.

 

Here's how to change the maximum number of slides:

 

1. Go to Online Store > Themes.

 

2. Next to the Venture theme you'll be testing this on and click on the Actions dropdown beside it.

 

3. Select Edit Code.

 

4. On the left side click on the Sections folder.

 

5. Scroll down and click on {/} slideshow.liquid to open it.

 

6. Use your keyboard shortcut search function.

  • On PC use keyboard shortcut Ctrl + F
  • On Mac use keyboard shortcut ⌘ + F

 

7. Paste this exact phrase max_blocks and press enter to find it in your code.

 

8. Change the number to your desired maximum.

 

9. Save.

 

10. Refresh your Theme Editor if you had it open on another tab.

 

 

For a look at Steps 4-9 see the Gif I recorded below:

 

 

alt

 

 

Add more slides in the Theme Editor

 

Once you've followed the steps above you'll be able to add up to the maximum slides you entered in the code.

 

Check out what my code results looked like below after refreshing my Theme Editor:

 

 

alt

 

 

Advice on SEO and Conversions

 

I'd like to mention though to be careful with the maximum number of slides.

 

Our Shopify (free) themes are built to be optimized for speed and other SEO factors. The maximum number of slides originally built into it is the optimal number to have on your site without compromising your site load speed.

 

Often too many unnecessary additions or changes to themes can hurt your business rather than improve it.

 

That said, I don't recommend to add more than 6 slides. Here a couple of reasons why:

 

  • Customers don't spend more than a couple of seconds on your hero slideshow or homepage.
  • More slides mean more images and animation, which will slow your site down and increase your bounce rate dramatically.
  • Hero images and slideshows should normally feature the most important and urgent messages needed.

 

Take a few minutes to decide what you want to feature on your slideshow and test it out.

 

You can also feel free to drop a post in our Feedback board to get some valuable feedback on your store from Shopify Support, Shopify Experts, Partners, and fellow Merchants.

 

Let me know how you do with the information above! I'm happy to answer any questions you think of as you work on your business.

Lilith | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

View solution in original post

Replies 4 (4)

Lilith
Shopify Staff
603 73 190

This is an accepted solution.

Hi, @MajMae!

 

My name is Lilith, I'm on the Social Care team at Shopify.

 

Great question! Although we can't support customizations like this at Shopify, I do have a way to increase that number in the theme code. I've done this on my own personal account before.

 

General advice on customizing themes

 

Because some customizations like this aren't supported by our Design Policy you'll need to reach out to one of our partners to hire them on to correct anything for you.

 

That said, don't test any customizations on your live theme. Some customizations may interfere with other code changes you may have made or apps that have added scripts to your theme before. Test the customizations on an unpublished copy of your theme instead first.

 

Be sure to follow the steps to back up your theme though anytime you do any unsupported customizations to any themes. This way you can easily get your original set up back online right away without any interruptions.

 

Venture's hero slideshow settings

 

Before I get into how to do it, the Venture theme has a maximum of 4 slides that you can add to the main hero slideshow on the theme.

 

Here's how that works to add the maximum number of slides in the Theme Editor:

 

 

alt

 

 

How to increase the max # of slide blocks

 

After you've done your backups you can test this quick customization out on your theme copy.

 

Here's how to change the maximum number of slides:

 

1. Go to Online Store > Themes.

 

2. Next to the Venture theme you'll be testing this on and click on the Actions dropdown beside it.

 

3. Select Edit Code.

 

4. On the left side click on the Sections folder.

 

5. Scroll down and click on {/} slideshow.liquid to open it.

 

6. Use your keyboard shortcut search function.

  • On PC use keyboard shortcut Ctrl + F
  • On Mac use keyboard shortcut ⌘ + F

 

7. Paste this exact phrase max_blocks and press enter to find it in your code.

 

8. Change the number to your desired maximum.

 

9. Save.

 

10. Refresh your Theme Editor if you had it open on another tab.

 

 

For a look at Steps 4-9 see the Gif I recorded below:

 

 

alt

 

 

Add more slides in the Theme Editor

 

Once you've followed the steps above you'll be able to add up to the maximum slides you entered in the code.

 

Check out what my code results looked like below after refreshing my Theme Editor:

 

 

alt

 

 

Advice on SEO and Conversions

 

I'd like to mention though to be careful with the maximum number of slides.

 

Our Shopify (free) themes are built to be optimized for speed and other SEO factors. The maximum number of slides originally built into it is the optimal number to have on your site without compromising your site load speed.

 

Often too many unnecessary additions or changes to themes can hurt your business rather than improve it.

 

That said, I don't recommend to add more than 6 slides. Here a couple of reasons why:

 

  • Customers don't spend more than a couple of seconds on your hero slideshow or homepage.
  • More slides mean more images and animation, which will slow your site down and increase your bounce rate dramatically.
  • Hero images and slideshows should normally feature the most important and urgent messages needed.

 

Take a few minutes to decide what you want to feature on your slideshow and test it out.

 

You can also feel free to drop a post in our Feedback board to get some valuable feedback on your store from Shopify Support, Shopify Experts, Partners, and fellow Merchants.

 

Let me know how you do with the information above! I'm happy to answer any questions you think of as you work on your business.

Lilith | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

MajMae
Excursionist
16 0 4

Hi Lilith,

I truly appreciate your help! and I'll reconsider my decision on the number of slides.

Happy new year!

Lilith
Shopify Staff
603 73 190

Hi, @MajMae! Happy new year to you too!

 

I'm glad I could provide some assistance to help you out.

 

Happy sales!

Lilith | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

mikejuliano
Visitor
2 0 0

Hi, do you know how I can change the time to 4 seconds in between slides? I currently only see 3 and 5 seconds as an option