New Landing How can we help? Themeforest Theme Support Neighborhood Height slide in post is not correct

Viewing 8 posts - 1 through 8 (of 8 total)
  • #302653
    BENEVELLI2016
    Member
    Post count: 4

    Hi, when I insert images into a slide in “Post detail gallery” when displaying the article, they do not respect the height dimensions. My images are 780 pixels high. I see them in the slide 720 pixels high and are then cut. I can not find the css element. Can you help me solve? Thank you.

    Attachments:
    You must be logged in to view attached files.
    #302947
    David Martin – Support
    Moderator
    Post count: 20834

    The image height is relative to the container width, if you force the height you will distort the image itself.

    If you absolutely want the images 780px height, please install and activate the supplied child theme and I will provide the code to override this.

    #302952
    BENEVELLI2016
    Member
    Post count: 4

    The child theme is already installed. I would like the image in the slide of the product (http://paolobenevelli.com/eat-play/) is exactly full and size as the one I have attached.
    Thank you.

    Attachments:
    You must be logged in to view attached files.
    #303370
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Can you add your FTP details for me.

    Thanks.

    #303378
    BENEVELLI2016
    Member
    Post count: 4

    FTP: 80.88.87.98
    User: ftp223900
    Password: pH7/ZE.5tR

    Wordpress: paolobenevelli.com/wp-admin
    User: info_6a442002
    Password: tM7iO_9Ig1

    #303703
    David Martin – Support
    Moderator
    Post count: 20834

    This should now be resolved.

    I add this to your child theme:

    	/* GET GALLERY MEDIA
    	================================================== */
    	if ( !function_exists('sf_gallery_post') ) {
    		function sf_gallery_post($postID, $use_thumb_content) {
    			
    			$gallery = '<div class="flexslider item-slider">'."\n";
    			$gallery .= '<ul class="slides">'."\n";
    				
    			if ($use_thumb_content) {
    			$media_gallery = rwmb_meta('sf_thumbnail_gallery', 'type=image&size=full-width-image-gallery', $postID);
    			} else {
    			$media_gallery = rwmb_meta( 'sf_detail_gallery', 'type=image&size=fullwidth', $postID);
    			}
    						
    			foreach ( $media_gallery as $image ) {
    				$gallery .= "<li><img src='{$image['url']}' width='{$image['width']}' height='{$image['height']}' alt='{$image['alt']}' /></li>";
    			}
    																	
    			$gallery .= '</ul>'."\n";
    			$gallery .= '</div>'."\n";
    			
    			return $gallery;
    		}
    	}
    #303712
    BENEVELLI2016
    Member
    Post count: 4

    Thanks!!!

    #303714
    David Martin – Support
    Moderator
    Post count: 20834

    Glad to help!

    If you have found the theme/support useful, we appreciate it if you can leave feedback on our item.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register