Support » Themes and Templates » cant hide content (class div…)

  • hi everyone and thanks in advance,

    i want to hide elements in this page ( such as button and text but when i try to use {display: none;} in CSS nothing changes!

    i would also be open to completely delete those elements but i can’t find the .php file.

    any help would be much appreciated.

    Thank you.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello Hailsou,

    The link which you provided is not working, Please provide updated link.

    URL –

    sorry, my bad, it’s working now…

    Which button and text do you want to remove?

    To hide the social buttons on this page only, you can add this to your Child Theme style.css file or using a Custom CSS plugin.

    .postid-8672 .apss-social-share.apss-theme-2 {
        display: none;

    Hope this helps.

    i’m sorry i didn’t mean the social buttons i meant the “COURS PRIVÉ” button and the texts like “16 ELEVES INSCRITS” and “PRIVE”…

    thank you.

    That’s a widget, if you want to remove the whole thing then you can simply drag the widget out of that sidebar via the Appearance > Widgets menu.

    To simply hide the button within that widget, on that page only, you can use this CSS instead:

    .postid-8672 .course_button.full.button {
        display: none;

    Hope this helps.

    the CSS didn’t work and i’ve already looked for the widget but i didn’t find any that links to the button or that widget area… i’m lost!

    if it helps i’m using WPLMS (a learning management system).

    any other ideas?

    thank you for your time.

    Works okay for me, try adding !important like this:

    .postid-8672 .course_button.full.button { 
        display: none !important; 

    that’s what’s driving me crazy! it should work but for some reason it won’t… (even with !important)

    any ideas?
    thank you for your time…

    How are you adding your custom CSS code?

    i add them to the style.css file as i usually do… am i doing something wrong?

    no one? 🙁

    done! thanks for your help anyway. i’m gonna post the solution if someone else needs it.
    i’ve installed one of the best and most useful plugins i’ve ever came across in wordpress: “Yellow Pencil” by WaspThemes. it’s a front-end Style editor, you just click on the element you want to hide, go to “extra” and choose “hide” (then save). tadaa!
    hope this saves someone time and headache as it did for me.
    thank you again great community as always. Godspeed…

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘cant hide content (class div…)’ is closed to new replies.