Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Post-Kicker, -Byline & -Footer (http://forum.bytesforall.com/forumdisplay.php?f=17)
-   -   [SOLVED] Theme is adding a border around my AddThis widget at bottom of posts (http://forum.bytesforall.com/showthread.php?t=1651)

daneo May 13, 2009 07:49 PM

[SOLVED] Theme is adding a border around my AddThis widget at bottom of posts
 
Hi there. I love the automatic borders around all the images added inside a post. However it also automatically adds it to my AddThis button at the bottom of every post.

Does anybody know how to remove this?

Thanks!

Dan

Flynn May 13, 2009 09:01 PM

Add a CSS Insert

img.class-name-of-addthis {
border: 0;
padding: 0;
}

Find the class name of addthis by looking into the source code of a browser rendered page or use Firebug

daneo May 13, 2009 11:44 PM

Thanks Flynn I'll give it a shot!

daneo May 15, 2009 07:09 PM

hmm for some reason that did work

Any other ideas?

daneo May 15, 2009 07:18 PM

Ah yes I figured it out. I just moved around the "img" in the code you gave me

Still a newb at CSS.

Your theme and individual help is MUCH appreciated to me and many many others Flynn. I have sent you a donation!

Olivier Jul 13, 2009 11:09 PM

Hi Daneo,

Hope you're still reading this support blog because I have exactly the same problem as you had. So, I did what Flynn suggested and added the following as a CSS Insert in the WP Atahualpa Admin section:

img.addthis_container {
border: 0;
padding: 0;
}

Just like you, it didn't work... and I cannot make it work...

So, if you could take a couple of minutes to describe in more details what you did afterwards to make it work, it would be great. Namely:

1 - What is it exactly you did, when you say: "I just moved around the "img" in the code you gave me"?
2 - which file did you amend? I just cannot find the new code I added in the CSS Insert in the WP Atahualpa Admin section. Nothing in the css.php file, or any other css files in the theme...

Anyway, I appreciate the time and the feedback.

Cheers,

Olivier

Flynn Jul 15, 2009 02:49 PM

Add !important if it didn't work

img.addthis_container {
border: 0 !important;
padding: 0 !important;
}

Olivier Jul 15, 2009 05:42 PM

Perfect Flynn... perfect.

Many thanks

Cheers,

Olivier


All times are GMT -6. The time now is 05:41 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.