Okay
  Public Ticket #1061597
Portfolio Option
Closed

Comments

  •  2
    Paoracolo83 started the conversation

    Hi

    I need to display just one photo in portfolio section, ( watch the link ) not all photos in the gallery. Can you tell me how I can do that?

    Thanks

    http://www.miodominio.mandellipaolo.com/portfolio/chronicle-from-chios/


    Paolo

  •  291
    Paul replied

    Hi Paolo!

    Hmm. I am not sure I understand it correctly. But if you upload only one image in the Images meta box (screenshot: https://cl.ly/jAPZ ), the theme will then display only the uploaded image. So you can just remove any other images except the one you wanted in there.

    Let me know if it is something else you were asking!

    Regards,
    Paul

  •  2
    Paoracolo83 replied

    Hi good morning

    I didn't expressed well. I know I can upload one photo, but my problem is different. I have more different galleries to upload and each galleries have 10/20 photos. I don't want see all photos and scroll the pages or portfolio. I need to display just one photo where I click on and I can watch all photos in the light box.

    It clear what is my question?

    I'm sorry, my english is no good.

    Cheers

  •  291
    Paul replied

    Thanks for the clarification!

    Unfortunately, there is no option for that out of the box. Each portfolio item has its own set of images and they will only be displayed vertically as what you see on the demo site.

    Anyway, you can try using this custom CSS to "force" it to display only the first image:

    .port-format-content .image-wrapper {
        display: none;
    }
    .port-format-content .image-wrapper:first-child {
        display: block;
    }
    

    You can go to "Appearance > Customize > Additional CSS" to apply the code.

    Hope it helps!

  •  2
    Paoracolo83 replied

    Hi guys.

    It works very well. Now it's perfect.

    Thanks a lot.

    Paolo

  •  291
    Paul replied

    You're welcome! Glad I could help!