Footer widgets on DePo Masthead behaving strangely…
Im having some issues with the right-hand side of my footer widget at http://piteiraphotography.com/
I have the 4 social media images in a text widget and the blog subscription widget underneath but the link from the facebook image in the text widget is somehow attaching itself to the text in the email subscription widget… Even if I move some other widget between them, the facebook link is still connected to the email widget text… I’m assuming this is a html thing and somewhere along the line I’ve got the code wrong, can anyone tell me what’s going on?
The blog I need help with is piteiraphotography.com.
Hi. That’s because your “A” tags are unclosed. Try the following code:
<a title="EMAIL" href="http://piteiraphotography.com/995-2/"><img src="http://piteiraphotography.files.wordpress.com/2011/04/email-logo.jpg" width="73" /></a> <a title="RSS FEED" href="http://piteiraphotography.com/feed/"><img src="http://piteiraphotography.files.wordpress.com/2011/02/rss-logo.jpg" width="73" /></a> <a title="TWITTER" href="//twitter.com/#!/piteira_photo"><img src="http://piteiraphotography.files.wordpress.com/2011/01/twitter-bird3.png" width="73" /></a> <a title="FACEBOOK" href="http://www.facebook.com/piteira.photography"> <img src="http://piteiraphotography.files.wordpress.com/2011/01/facebook-logo.png" width="73" /></a>
I’m not sure if the following setting applies to widgets as well, but it’s worth a try to prevent this type of problem in the future. Go to Settings > Writing, and check “WordPress should correct invalidly nested XHTML automatically”. Then click “Save changes”.
thank you! I knew it was something like that but my html knowledge is limited, to say the least. At least i learnt something new today! thank you both for your time. xx
The topic ‘Footer widgets on DePo Masthead behaving strangely…’ is closed to new replies.