Hide the share button

  • Posted in : Photographer
  • icollectiongroup
    Participant

    Hi,

    I would like to know how I can hide/disable the share buttons on the post.

    Thanks
    Michael

    serkan
    Moderator

    Hi Michael;
    Go to appearance > Theme Options > Portfolio > Share Button choose “no”

    or You can copy this custom css codes;

    .share-links { display: none; }

    Thanks

    Polasen
    Participant

    hello.
    It’s possible to desactive only a part of this share options ?
    I want to have Facebook and twitter, but not Pinterest and download. With a code line maybe ?

    I want this for the Gallery Type in Posts And Pages (and in portfolio if it’s possible)

    thanks for advance

    serkan
    Moderator

    Hi Polasen,
    You can use these custom css codes. First code for the gallery and the second code for the pages.

    .pswp__share--pinterest, .pswp__share--download { display: none !important; }
    .share-links a:nth-child(1), .share-links a:nth-child(2) { display: none; }

    Thanks

    Polasen
    Participant

    it’s work perfectly thanks. I have a relative question : I want to banish the “right click – save as” on my images. You can allow that in the theme or it’s better to use a plugin to do this ?

    Thanks for advance

    serkan
    Moderator

    Hi Polasen,
    You need to search a plugin for it.
    Thank you

    Polasen
    Participant

    ok thanks

    serkan
    Moderator

    You are welcome

    Polasen
    Participant

    Hello
    When we are in the navigation inside a gallerie, if I want to desactivate :
    – zoom
    – full screen
    It’s possible with others custom CSS ?

    If I want to desactivate only on specific pages it’s possible ?

    Thanks for advance

    Best regards

    serkan
    Moderator

    Hi Polasen,
    When you editing the portfolio page, you can see the detail box on the right-hand side. Choose the photo gallery 2 for each page. It will disable the zoom and full screen option.
    Thanks

    Polasen
    Participant

    hello.
    It’s for regular page – no portfolio. And with gallery 2, the share option is desactivate too, but I want to have them

    thanks for advance

    Best regards

    serkan
    Moderator

    Please go to appearance > Theme options > style > Gallery Type For Posts And Pages
    Please try to change this option.

    Polasen
    Participant

    hello.
    Yes the change is ok, but with gallery 2 – the share options is desactivate too

    It’s possible to desactivate the zoom and full screen option – and to keep share options ?

    serkan
    Moderator

    Hi Polasen,
    It is not possible by default.
    Thanks

    Polasen
    Participant

    arf.
    just desactivate the zoom option is possible ? (and keep full screen and share options)

    thanks for advance

    Best regards

    serkan
    Moderator

    Hi Polasen,
    Currently gallery types are only available. You should choose on of them. We can not customize the gallery type options. Unfortunately, there is not any options which has share options on and zoom options off. I hope you understand the situation.
    Thanks

    Polasen
    Participant

    ok thanks
    you have custom CSS for desactivate download or pinterest option, so I was thinking you have the same for fullscreen and zoom.
    never mind :-)

    Best

    serkan
    Moderator

    Hi Polasen,
    This custom css code will hide the zoom icon at the top corner but this can’t disable the zoom functionatily.

    button.pswp__button.pswp__button--zoom { display: none; }

    This custom css code will hide the full screen icon.

    button.pswp__button.pswp__button--fs { display: none; }
    Polasen
    Participant

    Hello

    thanks !
    For the full screen icon it’s work great, but not for the zoom button. The cursor still is in “zoom” mode (and there is not zoom button in top corner , with or without this css code)

    you have an idea to not have this zoom cursor ?

    thanks for advance !

    Best regards

    serkan
    Moderator

    Hi, sorry it is not available by default and it requires more time and effort to customization, if you are not familiar to coding you may consider hiring an expert at envato studio.

    Polasen
    Participant

    ok I understand. Thanks :-)

Viewing 21 posts - 1 through 21 (of 21 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register