- This topic has 5 replies, 2 voices, and was last updated 7 years, 7 months ago by Mahesh.
-
AuthorPosts
-
August 10, 2016 at 6:57 pm #97010janolofParticipant
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.7August 11, 2016 at 10:12 am #97036MaheshKeymaster@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,
MaheshAugust 11, 2016 at 1:33 pm #97042janolofParticipantHi 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’ );
}August 11, 2016 at 1:44 pm #97043MaheshKeymaster@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,
MaheshAugust 11, 2016 at 1:55 pm #97044janolofParticipantThankYou, it worked 🙂
August 11, 2016 at 2:01 pm #97046 -
AuthorPosts
- The topic ‘Edit default 'subtitle' in blog post’ is closed to new replies.