Tagged: , ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #97010
    janolof
    Participant

    I have a blog-page named ‘Blogg’
    When I edit my first post, a Subtitle appears, right under my photo.
    See this link…
    I did’t chose this subtitle, and it sounds really ‘stupid’ in Swedish.
    How can I edit it? Or delete it?
    I have Catch base pro version: 3.7

    #97036
    Mahesh
    Participant

    @janolof: This is WordPress by default functionality. That displays about number of comments for the blog. If you simply want to hide it, it can be done with Custom CSS. Go to Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS box and add the following CSS:

    #comments .comments-title {
        display: none;
    }

    But if you want to get rid of it, you’ll need to create a child theme. You can find more about creating child theme HERE. Then override comments.php file.

    Regards,
    Mahesh

    #97042
    janolof
    Participant

    Hi Mahesh

    I added your text to my CSS-box. See link…
    But nothing happened.
    So guess I have to create a child theme.
    But I’m rather new to this, so excuse me for asking a basic question:
    Can I just add the CSS-text you sent me, to line 6 below?
    Or do I have to copy the whole ‘comment.php-text’ from the parent theme, paste it and then do all the modification I want?

    <?php
    /**
    * Child Theme functions and definitions
    *
    */

    /**
    * Loading Parent theme stylesheet
    *
    */
    add_action( ‘wp_enqueue_scripts’, ‘catchbase_child_enqueue_styles’ );
    function catchbase_child_enqueue_styles() {
    wp_enqueue_style( ‘catchbase-parent-style’, get_template_directory_uri() . ‘/style.css’ );
    }

    #97043
    Mahesh
    Participant

    @janolof: Sorry, it should be comments not comment, was a Typo. For just modifying Custom CSS, you do not need to create child theme.

    #comments .comments-title {
        display: none;
    }

    Regards,
    Mahesh

    #97044
    janolof
    Participant

    ThankYou, it worked 🙂

    #97046
    Mahesh
    Participant

    @janolof: Thank you for your appreciation. Sorry for the trouble. Glad it worked for you.

    Regards,
    Mahesh

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Edit default 'subtitle' in blog post’ is closed to new replies.