Jump to content

Would like to add an overlay to my Instagram block...help?

Recommended Posts

  • Replies 13
  • Created
  • Last Reply

@riverdog77 add to Home > Design > Custom CSS


div#block-yui_3_17_2_1_1568833937558_4052 .margin-wrapper {
   position: relative;
}
div#block-yui_3_17_2_1_1568833937558_4052 .margin-wrapper a:before {
   position: absolute;
   content: "";
   background: rgba(0,0,0,0.5);
   left: 0;
   right: 0;
   top: 0;
   bottom: 0;
   z-index: 100;
   display: block;
}
div#block-yui_3_17_2_1_1568833937558_4052 .margin-wrapper a:hover:before {
   opacity: 0;
}


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 1 year later...
On 3/2/2021 at 5:44 PM, DarbyDesign said:

Hi @tuanphan, how do I also apply the code to instagram videos? The effect is perfect but does not apply to videos in the instagram feed. Thanks!

Can you share link to page where you use instagram feed? We can check easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.