- 
		AuthorPosts
 - 
		
			
				
April 24, 2018 at 4:09 pm #945992
Hi,
I’m trying to add an image to the top border of the socket but am struggling.I have tried using
#socket { border: 140px solid transparent!important; -webkit-border-image: url(https://wildtreeadventures.com/wp-content/uploads/2018/04/socket-trees.png) 140 round!important; /* Safari 3.1-5 */ -o-border-image: url(https://wildtreeadventures.com/wp-content/uploads/2018/04/socket-trees.png) 140 round!important; /* Opera 11-12.1 */ border-image: url(https://wildtreeadventures.com/wp-content/uploads/2018/04/socket-trees.png) 140 round!important; border-bottom:0px!important; border-left:0px!important; border-right:0px!important; }Which works on the W3 Website: https://www.w3schools.com/code/tryit.asp?filename=FQO4MITP5954 but not in Enfold.
What I am trying to achieve is this:
- 
		This topic was modified 7 years, 6 months ago by 
DigitalEssence.
 
April 25, 2018 at 11:42 pm #946935Hey DigitalEssence,
Can you please show us your web site?
Best regards,
BasilisApril 26, 2018 at 11:50 am #947218April 27, 2018 at 11:08 am #947827Hi,
You can instead try adding the background to #socket as a pseudo-element.
#footer { padding-bottom:140px; } #socket:before { content:''; position: absolute; height:140px; top:-140px; left: 0; right: 0; background: url(https://wildtreeadventures.com/wp-content/uploads/2018/04/socket-trees.png) repeat-x 0 100%; }Best regards,
VinayApril 27, 2018 at 4:10 pm #948013Fantastic. Thank you. That is perfect.
Just needed to add a !important to the #footer but it works a treat.
April 27, 2018 at 6:17 pm #948073Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)Best regards,
Vinay - 
		This topic was modified 7 years, 6 months ago by 
 - 
		AuthorPosts
 
- The topic ‘How Do I: Add an image as a border to the socket footer?’ is closed to new replies.
 
