• Resolved cmock13

    (@cmock13)


    I am trying to modify the css on my quest page (an achievement type) without changing the formatting on my posts. Specifically, I am trying to remove the comments, author, and date on each quest.

    How do I remove these elements with CSS without overriding the settings on my posts and pages (I want comments on posts)?

    Thank you in advance.

    https://wordpress.org/plugins/badgeos/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Michael Beckwith

    (@tw2113)

    The BenchPresser

    If your theme uses the body_class() function on your <body> tag, you should have classes like single-badges and single-{$achievement_type_slug} on the body tag that you can use to selectively target with CSS.

    If your body tag does not have any, it’d be simple to add. Just find where it’s provided, usually header.php, and change it to <body <?php body_class(); ?>>. WordPress will take care of the rest for you.

    Thread Starter cmock13

    (@cmock13)

    Thank you for the help Michael. That was exactly the direction that I needed to be pushed into.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Glad that will get you to where you need to be 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Modify Achievement Pages with CSS, Specifically Comments’ is closed to new replies.