How can I make my website slideshow full width?

Hi all , would anyone know how to make my slideshow full width on my website please ?

Currently its not wide enough on desktop but it seems that it will automatically resize for mobile which is fine

https://ljvapes.co.uk/

1 Like

Hello @Ljvapes

You can add code by following these steps

  1. Go to Online Store → Theme → Edit code.

  2. Open your theme.liquid file

  3. Paste the below code before on theme.liquid

.home-slideshow.index-home.container { width: 100% !important; }

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Hi @Ljvapes

If we full width this slideshow the arrow will be covered.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

.home-slideshow.index-home.container {
    width: 100% !important;
}

And Save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

Thank you very much for this , will it automatically resize on mobile please as i dont want it to be huge and look silly when on mobile?

To adjust in the mobile.

@media only screen and (max-width: 749px){
.slick-track img {
    height: 40vh;
}
}

And Save.

Result:

before:

After:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

It will automatically resize on mobile.

Was my reply helpful? Click Like to let me know!
Thanks

That’s great thank you so much worked perfectly :ok_hand: