Support » Plugin: Slick Social Share Buttons » [Plugin: Slick Social Share Buttons] Remove plugin from mobile theme?

Viewing 9 replies - 1 through 9 (of 9 total)
  • + 1 for this suggestion

    Mobiles should have an option to share already, so having the buttons show is redundant.

    Great plugins but this as almost every other plugin dont have a feature to disable it for mobiles.

    Amazing that the developers forgett this..if i use WP touch for my site and have this plugin it will be in the middle of the post on a mobile,tablet.

    How do we solve this?

    Plugin Author remix4


    Usually this should be handled by your theme rather than each individual plugin having its own system for deactivating.

    This can be managed fairly easily if your theme uses media queries

    True Remix4

    I think wp touch have the abillity to ignore some plugins, however for the user experience it is better to give the choice to disable it for mobiles.

    Some socialize plugins have this but far from all.

    And myselfe have no clue how i hide it from my mobile theme 🙁

    Anyone find a fix on how to exclude slick share from mobiles?

    Plugin Author remix4


    If your theme is using CSS media queries then you can add the following to hide the buttons on mobile devices:

    #dcssb-slick {display:none;}



    My theme is using CSS media queries but that code does absolutely nothing no matter where I put it. Is there a special place where I should put the code?

    Here’s a recent application of the media query that works nicely:

    @media screen and (max-device-width: 480px) {
    		/* mobile-specific styles go here */
    		display: none;

    I tried all day tweaking the CSS (including the solutions above) but nothing happens. It seems that the code is modified afterwards.

    I slightly modified one line in a Javascript and now, it appears closed by default if the width is < 600. Add && window.innerWidth>599 in the following:

    if(defaults.loadOpen == true && window.innerWidth>599){

    in the file slick-social-share-buttons/js/

    Hope this helps. This was driving me nuts! 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Slick Social Share Buttons] Remove plugin from mobile theme?’ is closed to new replies.