Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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.

    #241464

    Hi 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,
    Ismael

    #241964

    Thanks 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?

    #241974

    Hey!

    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!
    Peter

    #242550

    Thank you. Is there a way to do this for an array of pages/posts or does each have to be done separately?

    #242631

    Hi!

    You can separate them with a comma:

    
    .page-id-571 #ssba, .page-id-580 #ssba, .page-id-590 #ssba {
    display: none !important;
    }
    

    Cheers!
    Peter

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.