Adding an Instagram Feed using CSS, no plugin (Hidden Sidebars)
-
[ Moved to the Fixing WordPress sub-forum. ]
Hello,
Our site needs to add our client’s Instagram Feed to her page. The site is using a custom theme with hidden sidebars so plugins may not be helpful. The designer created some HTML code for displaying the artist’s Instagram link. We would like it do display a feed instead. I’d like it to remain the same size as gigpress and twitter. How can I embed the feed into the wpsite? Here is the current code, which will be replaced with the embed feed,
</div><!– .module –>
<div class=”large-4 medium-6 columns module instagram”>
<div class=”row section-title”>
<div class=”small-12 columns”>
<h2>Instagram</h2><div style=”padding:8px;”> <div style=” background:#F8F8F8; line-height:0; margin-top:40px; padding:50.0% 0; text-align:center; width:100%;”> <div style=” background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAMAAAApWqozAAAAGFBMVEUiIiI9PT0eHh4gIB4hIBkcHBwcHBwcHBydr+JQAAAACHRSTlMABA4YHyQsM5jtaMwAAADfSURBVDjL7ZVBEgMhCAQBAf//42xcNbpAqakcM0ftUmFAAIBE81IqBJdS3lS6zs3bIpB9WED3YYXFPmHRfT8sgyrCP1x8uEUxLMzNWElFOYCV6mHWWwMzdPEKHlhLw7NWJqkHc4uIZphavDzA2JPzUDsBZziNae2S6owH8xPmX8G7zzgKEOPUoYHvGz1TBCxMkd3kwNVbU0gKHkx+iZILf77IofhrY1nYFnB/lQPb79drWOyJVa/DAvg9B/rLB4cC+Nqgdz/TvBbBnr6GBReqn/nRmDgaQEej7WhonozjF+Y2I/fZou/qAAAAAElFTkSuQmCC); display:block; height:44px; margin:0 auto -44px; position:relative; top:-22px; width:44px;”></div></div><p style=” color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; line-height:17px; margin-bottom:0; margin-top:8px; overflow:hidden; padding:8px 0 7px; text-align:center; text-overflow:ellipsis; white-space:nowrap;”>A photo posted by Tanya Tucker (@thetanyatucker) on <time style=” font-family:Arial,sans-serif; font-size:14px; line-height:17px;” datetime=”2015-11-24T20:53:15+00:00″>Nov 24, 2015 at 12:53pm PST</time></p></div>
<script async defer src=”//platform.instagram.com/en_US/embeds.js”></script>
</div><!– .small-12 –>
</div><!– .section-title –><ul id=”instafeed” class=”small-block-grid-2″>
</div><!– .instagram –>Thanks for any assistance!
- The topic ‘Adding an Instagram Feed using CSS, no plugin (Hidden Sidebars)’ is closed to new replies.