• Resolved Briesmi

    (@briesmi)


    Hello,

    i want to hide the commennts numbers in the post header. How can I handle this?

    I tried over CSS, but i couldnt find the correct entry.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Try this

    .comments-link {
    display: none;
    }

    Do not edit the theme itself. First create a child theme for your changes or install a custom CSS plugin. Then try adding the CSS above to your child theme’s stylesheet or your custom CSS editor.

    Thread Starter Briesmi

    (@briesmi)

    Thanks for the hint!

    I tried with custom CSS Plugin, but this did not worked for me.

    /* Hiero Theme- style.css */
    /* hide comments count in post header */
    
    .comments-link {display: none !important;}
    	float: right;
    	margin: 5px 0 0;
    	}

    same without !important.. ??

    I changed style.css, now its working, but would rather use the custom plugin.

    Theme Author aThemes

    (@athemes)

    That’s strange. Which plugin did you use? Did you inspect the page and check the CSS was loading?

    Thread Starter Briesmi

    (@briesmi)

    I used Simple Custom CSS, and yes, page and css was loding. But its ok, change the css is no problem. I’m happy with that.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hide comments number on posts’ is closed to new replies.