Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #1286597
Gallery loading
Closed

Comments

  • tableno7 started the conversation

    Hi there, is there a way to stop the page moving up and down as each image loads in the gallery? Every time an image loads the text moves up like there's no image placeholder there. 

  •  2,700
    PenciDesign replied

    Hi,


    To do that, you need to edit the file in this theme.

    Please replace this code to:

    <img class="" src="<?php echo esc_url( $the_image[0] ); ?>"<?php if ($the_caption) : ?>title="<?php echo esc_attr( $the_caption ); ?>"<?php endif; ?> />

    Best Regards,

    PenciDesign

  • tableno7 replied

    thanks for the prompt response!! worked! 

  • tableno7 replied

    Hi there, that fixed the gallery loading issue when the post is a gallery type (although the first image usually doesn't load before the slide changes, so it still 'pushes' the page down when it loads)

    however if I insert a gallery into the main part of the page, the up/down issue with gallery loading returns. How can this be fixed? Thanks! 

  •  2,700
    PenciDesign replied

    Hi,

    If you want to do that with Single Slider style of gallery, please replace this code to:

    $output .= '<img class="single-slider-img" src="'. $get_masonry[0] .'" alt="">';

    Best Regards,

    PenciDesign