Jump to content
Sign in to follow this  
Analog Drawings

Social icons only showing on homepage

Recommended Posts

Analog Drawings

Hello, I have some custom code for my social icons, see below, all works great on my home page but they are not showing on any other pages, but the links are still there. Here's my site (work in progress): http://www.drawings.me.uk/maisonbleu/ I just can't figure out why they're not showing on the other pages!

body{padding-top:0px;}
	.icons .twitterlink {
	background:url("wp-content/uploads/2012/02/twitter.png") no-repeat scroll left top transparent;
	width:109px;
	height:39px;
	margin-top:-75px;
	}
	.icons .facebooklink {
	background:url("wp-content/uploads/2012/02/facebook.png") no-repeat scroll left top transparent;
	width:116px;
	height:39px;
	margin-top:-75px;
	margin-right:109px;
	}

Share this post


Link to post
Share on other sites
Jenny
On the other pages, the background url css shows: [code]url("wp-content/uploads/2012/02/twitter.png") no-repeat scroll left top transparent[/code] Which is not a valid image location since you are using a subfolder. You will need to change it to: [code]url("../wp-content/uploads/2012/02/twitter.png") no-repeat scroll left top transparent[/code] OR use the full URL including the http://

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
Analog Drawings
Thanks Simple Mama! Perfect.

Share this post


Link to post
Share on other sites
Jenny
No problem! Glad to help. :)

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×