Okay
  Public Ticket #2150185
Hide gallery slider if only one image is uploaded
Closed

Comments

  •  2
    planet99 started the conversation

    Hi,

    In single product page, it is showing slider for one photo. I just upload 1 photo therefore I dont want the slider to be there. If more than one photo then the slider will be there. How do i hide it? I tried various code but it still showing there.

  • [deleted] replied

    Hi planet99,

    Sorry but an option to do that is not available in the theme, anyway we will check if we can any option like this for the next theme updates.

    Have a nice day!

  •  2
    planet99 replied

    hi again,

    Or maybe just a custom code to put in function so that it will remove the slider? as I only need one photo. i tried few code but not working. probably it was overwritten by your theme? Not entirely sure.

  •  2
    planet99 replied

    Hi,

    I put in this css code and it work. it is not ideal but working for now. i am hoping to be able to hide if only one image is there. if more than one image then it will appear. 

    .thumbnails.flickity-enabled {
        display:none
    }
    
  • [deleted] replied

    Hi planet99,

    Happy to hear that you already found that solution.

    Have a nice day!