PHP and Styles

Hello,

I am having trouble styling my “Email It” link (below the thumbnails) on the main page of my site (TweetMyHome - Where selling your home gets social!).

The ‘email’ span class should include an icon to the left, but something is interfering and I’m not sure how to clear out the other classes that might be interfering because the PHP is placing them there. They are not in my HTML.

I would greatly appreciate it if someone could look at the attached .php file and see what I need to change/remove from it to prevent it from adding the classes around the button, however, it needs to maintain the elements that show on hover.

Thank you,

Jon

A quick look at your link, it seems as though your share script is being called on the email it button vs the share. Perhaps that is your issue.

The Email It is just simple text. The script is fine, I’m just trying to remove some of hte extra classes from the php that are causing it to look… well, ugly!

Did you try


<div class="a2a_kit addtoany_list">
<span class="mail"><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Email It</a></span>
</div> 

Ryan, it’s not just a CSS issue. If it was, then I’d edit the code. The is a WordPress plugin. The CSS for the plugin is embedded into the attached .php file. I want to strip out that part of it, but I don’t know enough about PHP to be sure of how to clear just that button part.

The part that appears on mouseover should remain intact.

Thanks,

Jon