I am currently working on a website project, and I have included the link to the site below:
link
HTML CODE:
<ul class="instagram-images">
<li><a target="_blank" href="<?php echo ot_get_option('instagram_photo_1'); ?>"><?php echo do_shortcode('[instagram_embedding url="'.ot_get_option('instagram_photo_1').'" s="t"]'); ?></a></li>
<li><a target="_blank" href="<?php echo ot_get_option('instagram_photo_2'); ?>"><?php echo do_shortcode('[instagram_embedding url="'.ot_get_option('instagram_photo_2').'" wrap_margin="10" s="t"]'); ?></a></li>
<div class="clearfix"></div>
<li class="big-news pull-left"><?php echo do_shortcode('[display-posts include_excerpt="false" category="news" image_size="news" wrapper="div" posts_per_page="1" orderby="date"]'); ?></li>
<li><a target="_blank" href="<?php echo ot_get_option('instagram_photo_3'); ?>"><?php echo do_shortcode('[instagram_embedding url="'.ot_get_option('instagram_photo_3').'" s="t"]'); ?></a></li>
<li><a target="_blank" href="<?php echo ot_get_option('instagram_photo_4'); ?>"><?php echo do_shortcode('[instagram_embedding url="'.ot_get_option('instagram_photo_4').'" s="t"]'); ?></a></li>
<li><a target="_blank" href="<?php echo ot_get_option('instagram_photo_5'); ?>"><?php echo do_shortcode('[instagram_embedding url="'.ot_get_option('instagram_photo_5').'" s="t"]'); ?></a></li>
<li><a target="_blank" href="<?php echo ot_get_option('instagram_photo_6'); ?>"><?php echo do_shortcode('[instagram_embedding url="'.ot_get_option('instagram_photo_6').'" s="t"]'); ?></a></li>
<li class="big-news pull-right rightm"><?php echo do_shortcode('[display-posts include_excerpt="false" offset="1" category="news" image_size="news" wrapper="div" posts_per_page="1" orderby="date"]'); ?></li>
<li><a target="_blank" href="<?php echo ot_get_option('instagram_photo_7'); ?>"><?php echo do_shortcode('[instagram_embedding url="'.ot_get_option('instagram_photo_7').'" s="t"]'); ?></a></li>
<li><a target="_blank" href="<?php echo ot_get_option('instagram_photo_8'); ?>"><?php echo do_shortcode('[instagram_embedding url="'.ot_get_option('instagram_photo_8').'" s="t"]'); ?></a></li>
<li><a target="_blank" href="<?php echo ot_get_option('instagram_photo_9'); ?>"><?php echo do_shortcode('[instagram_embedding url="'.ot_get_option('instagram_photo_9').'" s="t"]'); ?></a></li>
<li><a target="_blank" href="<?php echo ot_get_option('instagram_photo_10'); ?>"><?php echo do_shortcode('[instagram_embedding url="'.ot_get_option('instagram_photo_10').'" s="t"]'); ?></a></li>
<li><a target="_blank" href="<?php echo ot_get_option('instagram_photo_11'); ?>"><?php echo do_shortcode('[instagram_embedding url="'.ot_get_option('instagram_photo_11').'" s="t"]'); ?></a></li>
<li><a target="_blank" href="<?php echo ot_get_option('instagram_photo_12'); ?>"><?php echo do_shortcode('[instagram_embedding url="'.ot_get_option('instagram_photo_12').'" s="t"]'); ?></a></li>
<li><a target="_blank" href="<?php echo ot_get_option('instagram_photo_13'); ?>"><?php echo do_shortcode('[instagram_embedding url="'.ot_get_option('instagram_photo_13').'" s="t"]'); ?></a></li>
<li><a target="_blank" href="<?php echo ot_get_option('instagram_photo_14'); ?>"><?php echo do_shortcode('[instagram_embedding url="'.ot_get_option('instagram_photo_14').'" s="t"]'); ?></a></li>
</ul>
CSS CODE:
.instagram-images li{
width:18%;
margin:0 0.8%;
display:inline-block;
}
.instagram-images li img{
margin:0.5% 0;
}
To provide a clearer understanding of what is being described, I have attached an image that illustrates the specific design requirements.
https://i.sstatic.net/m7e01.jpg
The main goal is to achieve a symmetrical and evenly spaced layout throughout the design elements. If there are any uncertainties or further clarifications needed, please feel free to reach out.
Thank you in advance!