Support » Plugin: Compact WP Audio Player » Unable to hide player now

  • Resolved rmcpress2

    (@rmcpress2)



    Until a recent theme update I was able to hide the player using this code:

    }
    .sc_player_container1 {
    display: none !important;
    }

    Now, although the player itself is not displaying, there is an empty box showing up on some browsers, mostly in Windows OS.

    What do I need to add to the CSS to hide this box?

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, you need to add some more code. The following code only hides the plugins player but your theme is adding background padding to the area where the player hides.

    .sc_player_container1 {
    display: none !important;
    }

    Your theme is adding the following code.

    padding: 30px;

    You need to exclude the above code from appearing in the area where the player hides.

    What type of widget are you using to add the players shortcode?

    Kind regards

    I’m not completely sure what distinction you are asking about, but I am using the Ruby theme with BoldGrid sitebuilder, and it’s a footer widget.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, let me know if this is the theme and plugin you are using?

    Kind regards

    Yes, both correct. Thank you.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Thank you for letting me know. How are you adding the shortcode? For example is it in a widget?

    Regards

    Yes, I added the shortcode to a widget.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, what kind of widget are you using? Are you using the Text or Custom HTML widget?

    Regards

    The shortcode is in a Text widget.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, can you add the shortdoce to a Custom HTML widget. Then try again the code you used before, see if this works.

    Regards

    Ah-ha, that did it! Thank you!!

    Really appreciate your help. All best.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    I am glad to hear 🙂

    Enjoy the plugin.

    Regards

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Unable to hide player now’ is closed to new replies.