Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1369678

    Hello
    We have taken over this website, and after updating the theme, the gallery is not working anymore. Could you please help us troubleshoot?
    The images are all getting displayed below each other at the moment. I am assuming, that, the code was written into the theme somewhere, so I have created a child-theme and added the code that I thought belonged to the gallery to it, but without any success…
    This is the code that is on the page for the gallery:

    <section class=”pg-container”>
    <div class=” photo-gallery”>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div>
    <h4></h4>
    </div>
    <div>
    <h4></h4>
    </div>
    <div>
    <h4></h4>
    </div>
    <div>
    <h4></h4>
    </div>
    </div>
    <div class=”pg-container__arrows”>
    <div></div>
    </div>
    </section>

    #1369704

    Hey,

    Thanks for contacting us!

    Gallery was added using HTML but CSS was not added. I added following code to bottom of Quick CSS field

    
    .photo-gallery div {
      width: 30.1%;
      margin-right: 3%;
      margin-bottom: 3%;
      display: inline-block;
    }
    

    You can use Gallery or Masonry Gallery element to have more control over your gallery.

    Please review your website :)

    Best regards,
    Yigit

    #1370467

    Hello Yigit

    The gallery should be a slider not a gallery. Is there a plugin that you usually use with the Enfold theme to create sliders?
    I cannot find the plugin to make the slider, although I found code in the carousel.css styles with Slick references. But even with the carousel.css the Slider is not working, which makes me think the plugin for this slider is missing.

    Thanks
    Makoto

    #1370546

    Hi,

    Thank you for the update.

    The theme has its own Advance Layout Builder (ALB) which includes various gallery and slider elements. You can use these elements instead of manually adding the code. Please check the documentation below to help you get started with the theme and the ALB.

    // https://kriesi.at/documentation/enfold/intro-to-layout-builder/
    // https://kriesi.at/documentation/enfold/quick-setup/

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.