Tagged: share buttons, share links
-
AuthorPosts
-
March 21, 2014 at 7:01 pm #241325
I saw in several posts the suggestion to use the Simple Share Buttons Adder for adding SM “like and share” buttons to any page/post.
The adding part seems to work great but I can;t seem to get the hide function to work correctly. My problem is as follows.
If I go to the Default Editor and add the short code [ssba_hide], all the content on the page dissappears.
If I go to the Advanced layout builder and either add it to an element or put a text box at the bottom and add the short code, the same thing happens.
Question1 Where can I put the short code to show/hide the buttons without it hiding the rest of the page content?
Question 2: I am using an Ajax portfolio and again would like to have the shortcode have the links appear in the container to the right of the Gallery image at the top. When I place the [ssba] in the text box, it shos the links but also shows them at the bottom of the page. How can I set this to only show the buttons in the spots I ant them to be seen keep them from showing at the bottom?
Thanks.March 22, 2014 at 1:43 am #241464Hi themeforesttony!
Maybe, you can just hide the button using css. What pages do you want the buttons not to show? Regarding the plugin shortcode not working, please contact the plugin author.
Best regards,
IsmaelMarch 24, 2014 at 8:08 am #241964Thanks I will try the author but I suspect they will not know the theme well enough to answer. How would I go about “hiding” an element via CSS?
March 24, 2014 at 8:40 am #241974Hey!
You can hide the buttons with:
.page-id-571 #ssba { display: none !important; }
instead of 571 insert the id of the page where you want to hide the buttons.
Cheers!
PeterMarch 25, 2014 at 7:16 am #242550Thank you. Is there a way to do this for an array of pages/posts or does each have to be done separately?
March 25, 2014 at 10:35 am #242631Hi!
You can separate them with a comma:
.page-id-571 #ssba, .page-id-580 #ssba, .page-id-590 #ssba { display: none !important; }
Cheers!
Peter -
AuthorPosts
- You must be logged in to reply to this topic.