This topic contains 3 replies, has 2 voices, and was last updated by mdmnet 1 year, 5 months ago.
-
Ticket
-
Hello there,
I need to change the “wide” Portfolio Template to display the gallery below the description text and detail container.
When trying to change wide.php and moving the flexslider below the content, the viewport height stays on 0, making it invisible. The positioning is off too, making it impossible to adjust in CSS.
Is there any good way to do this?Thank you in advance and best regards!
Normal Layout:
123456789101112131415161718192021222324252627282930313233343536373839404142434445<div class="portfolio-wide sixteen columns clearfix"><div class="flexslider"><ul class="slides"><?php $images = rwmb_meta( 'minti_screenshot', 'type=image_advanced&size=standard' );if(is_array($images)){foreach ( $images as $image ) {echo "<li><img /></li>";}}?></div><div class="portfolio-detail-description eleven alpha columns"><h2>About <?php the_title(); ?></h2><div class="portfolio-detail-description-text"><?php the_content(); ?></div><div id="portfolio-embed"><?phpif (get_post_meta( get_the_ID(), 'minti_source', true ) == 'videourl') {echo wp_oembed_get(esc_url(get_post_meta( get_the_ID(), 'minti_embed', true )));}else {echo wp_kses(get_post_meta( get_the_ID(), 'minti_embed', true ), minti_expand_allowed_tags());}?></div></div><?php if( get_post_meta( get_the_ID(), 'minti_portfolio-details', true ) == 1 ) { ?><div class="portfolio-detail-attributes five omega columns"><ul><?php if( get_post_meta( get_the_ID(), 'minti_portfolio-client', true ) != "") { ?><li class="clearfix"><strong><?php _e('Client', 'unicon'); ?></strong> <span><?php echo esc_html(get_post_meta( get_the_ID(), 'minti_portfolio-client', true )); ?></span><?php } ?><li class="clearfix"><strong><?php _e('Date', 'unicon'); ?></strong> <span><?php the_date() ?></span><li class="clearfix"><strong><?php _e('Tags', 'unicon'); ?></strong> <span><?php $taxonomy = strip_tags( get_the_term_list($post->ID, 'portfolio_filter', '', ', ', '') ); echo esc_html($taxonomy); ?></span><?php if( get_post_meta( get_the_ID(), 'minti_portfolio-link', true ) != "") { ?><li class="clearfix"><strong><?php _e('Web', 'unicon'); ?></strong> <span><a>" target="_blank"><?php _e('Live Website', 'unicon'); ?></a></span><?php } ?></ul></div><?php } ?></div>Layout with gallery at the bottom (Not working):
123456789101112131415161718192021222324252627282930313233343536373839404142434445<div class="portfolio-wide sixteen columns clearfix"><div class="portfolio-detail-description eleven alpha columns"><h2>About <?php the_title(); ?></h2><div class="portfolio-detail-description-text"><?php the_content(); ?></div><div id="portfolio-embed"><?phpif (get_post_meta( get_the_ID(), 'minti_source', true ) == 'videourl') {echo wp_oembed_get(esc_url(get_post_meta( get_the_ID(), 'minti_embed', true )));}else {echo wp_kses(get_post_meta( get_the_ID(), 'minti_embed', true ), minti_expand_allowed_tags());}?></div></div><?php if( get_post_meta( get_the_ID(), 'minti_portfolio-details', true ) == 1 ) { ?><div class="portfolio-detail-attributes five omega columns"><ul><?php if( get_post_meta( get_the_ID(), 'minti_portfolio-client', true ) != "") { ?><li class="clearfix"><strong><?php _e('Client', 'unicon'); ?></strong> <span><?php echo esc_html(get_post_meta( get_the_ID(), 'minti_portfolio-client', true )); ?></span><?php } ?><li class="clearfix"><strong><?php _e('Date', 'unicon'); ?></strong> <span><?php the_date() ?></span><li class="clearfix"><strong><?php _e('Tags', 'unicon'); ?></strong> <span><?php $taxonomy = strip_tags( get_the_term_list($post->ID, 'portfolio_filter', '', ', ', '') ); echo esc_html($taxonomy); ?></span><?php if( get_post_meta( get_the_ID(), 'minti_portfolio-link', true ) != "") { ?><li class="clearfix"><strong><?php _e('Web', 'unicon'); ?></strong> <span><a>" target="_blank"><?php _e('Live Website', 'unicon'); ?></a></span><?php } ?></ul></div><?php } ?><div class="flexslider"><ul class="slides"><?php $images = rwmb_meta( 'minti_screenshot', 'type=image_advanced&size=standard' );if(is_array($images)){foreach ( $images as $image ) {echo "<li><img /></li>";}}?></div></div>
Sorry, only verified customers can view ticket replies.