-
AuthorPosts
-
September 18, 2013 at 5:21 pm #163046
Hello,
I have added an addthis vertical bar as per the instructions here:
https://kriesi.at/support/topic/placing-addthis-social-icons-into-the-header/
I am using the new addthis smart layer option with the following code:
<!– AddThis Smart Layers BEGIN –>
<!– Go to http://www.addthis.com/get/smart-layers to customize –>
<script type=”text/javascript” src=”//s7.addthis.com/js/300/addthis_widget.js#accoutcode”></script>
<script type=”text/javascript”>
addthis.layers({
‘theme’ : ‘light’,
‘share’ : {
‘position’ : ‘left’,
‘numPreferredServices’ : 4
}
});
</script>
<!– AddThis Smart Layers END –>However, it really doesn’t look great on the slider on the homepage so do you know of anyway to hide it from the homepage? I have searched the net but can’t find anything that would help.,
Thanks
Andrew
September 19, 2013 at 3:59 am #163318Hello awilson3rd!
Yes, it is possible with CSS, can you post a link to your website please?
Best regards,
JosueSeptember 19, 2013 at 9:20 am #163461Hello Josue,
Not at the moment. Could you provide me with the code??
Thanks
Andrew
September 19, 2013 at 9:49 am #163469Hey Andrew!
Try this:
.home div[class*=addthis]{ display: none; }
Regards,
JosueSeptember 19, 2013 at 9:52 am #163471Thanks Josue,
Unfortunately it didn’t hide it?
Andrew
September 19, 2013 at 10:43 am #163496Hi Andrew,
Well, seeing the site live would greatly help finding a fix to your issue, if you don’t want to post the link you can send it to me at (Email address hidden if logged out)
Cheers!
JosueSeptember 19, 2013 at 11:30 am #163508Thanks Jose,
It’s not a live site at the moment which is why I am just trying to find the code to change.
Thanks
Andrew
September 20, 2013 at 4:36 pm #164104Hi Andrew,
The best thing to do then would be to try and use dev tools with your browser to identify the css class selector and adjust the css for the item.
This is a good intro video for how to do that: http://wptheming.com/2012/07/chrome-developer-tools-wordpress/
Regards,
Devin
September 20, 2013 at 7:15 pm #164173Thanks for the reply.
I think part of the problem is that the Smart Layers option for AddThis is fairly new and not as configurable as the WP plugin. The problem with the
plugin is that as far as I can see you can’t add a vertical option, only horizontal which looks pretty crap.Stuck between a rock and a hard place!:-)
Thanks again,
Andrew
-
AuthorPosts
- The topic ‘Addthis Hide from homepage’ is closed to new replies.