Tagged: , , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27673
    rimarx
    Participant

    Plugin version – 2.0.5
    Inside “/responsive-lightbox/includes/class-frontend.php”
    You forgot close css rule “#rl-gallery-container-‘ . $gallery_no . ‘ .rl-basicgrid-gallery .rl-gallery-item img”
    Code:

    
    if ( $atts['force_height'] ) {
    	$inline_css .= '
    	#rl-gallery-container-' . $gallery_no . ' .rl-basicgrid-gallery .rl-gallery-item {
    		height: ' . ( $atts['row_height'] ) . 'px;
    	}
    	#rl-gallery-container-' . $gallery_no . ' .rl-basicgrid-gallery .rl-gallery-item img {
    		height: ' . ( $atts['row_height'] ) . 'px;
    		object-fit: cover;
    		max-width: 100%;
    		min-width: 100%;
    	';
    }
    

    That’s create error when have several galleries per page

    #27845
    rflois
    Participant

    I believe I’m encountering this bug. I have 3 posts in a row with one of your basic grid galleries. If I enable Force height on a gallery, the next post with a gallery displays incorrectly.

    #27872
    Neil Thomas
    Participant

    I think I am having the same issue, are you saying that you can display one gallery and it’s ok, but as soon as you put another gallery underneath, this one won’t work

    I have 2 galleries on 1 page, the first displays perfectly, the second won’t display correctly , regardless of what I set it at

    Have you managed to resolve this?

    #28638
    rimarx
    Participant

    You need to add close bracket in file that I described above
    Code:

    
    #rl-gallery-container-' . $gallery_no . ' .rl-basicgrid-gallery .rl-gallery-item img {
    		height: ' . ( $atts['row_height'] ) . 'px;
    		object-fit: cover;
    		max-width: 100%;
    		min-width: 100%;
    	';
    

    Change on:

    
    #rl-gallery-container-' . $gallery_no . ' .rl-basicgrid-gallery .rl-gallery-item img {
    	height: ' . ( $atts['row_height'] ) . 'px;
    	object-fit: cover;
    	max-width: 100%;
    	min-width: 100%;
    }';
    
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.