Home › Forums › Free Themes › Yummy › remove "no comments" from blog post
Tagged: header CSS
- This topic has 3 replies, 2 voices, and was last updated 6 years, 8 months ago by wensolutions.
-
AuthorPosts
-
April 19, 2018 at 5:14 am #70333pinksoul91Participant
Hi,
i am currently trying to remove the comments section from my blog post, i ve modified the CSS and removed:
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
on single post. the comments dissapeared in the end of the post section but unfortunately there still appears ” no comments” at the beginning of the post. Is there a way to remove this?another thing:
I would like to remove the page title – categorie title etc. from the headers, but I dont know how.last thing: whats the CSS for changing the size of the header? 1920 × 1080 is to high, header should be smaller in with.
thanks
April 19, 2018 at 6:07 am #70342wensolutionsKeymasterHello @pinksoul91,
Firstly thank you very much for using the theme.
Now all of your queries has been answered below:
#1: Remove the comment section.
Response: To remove the comment section in the post pages use below-given CSS.
For this go to Admin Panel > Appearance > Customize > Additional CSS and paste below given CSS.
div#comments { display: none; } .comment-respond { display: none; }
#2: Remove the title
Response: To remove the title from the pages use below given CSS in additional CSS.
h2.page-title { display: none; }
#3: Header size:
Response: We are quite clear with your query whether you want to decrease the size of the slider at the front page or the header image within other pages. So please explain clearly so that we can help you further.
Hope this helps.
Best Regards!!
April 19, 2018 at 7:38 am #70353pinksoul91ParticipantHi,
first of all, thanks a lot for your quick response. No#2 perfectly worekd, unfortunately the first thing which appears on a single blog post is “no comments” (#respond)
Regarding the header:
I would like to shrink the header width to lets say 70%.
April 20, 2018 at 12:53 am #70419wensolutionsKeymasterHello @pinksoul91,
Nice to know that your issue#2 is solved.
Now for the query related to no comment, you can remove that from meta section by disabling the comment from quick edit screen of individual posts.
Screenshot:
Now to disable the comment section in the future post, just go to Admin Panel > Settings > Discussion and uncheck the option “Allow people to post comments on new articles”.
For the header image, the theme has already provided the option called “Boxed” layout which reduces the width of the header image. This option can be set by going to Admin Panel > Appearance > Customize > Theme Options > Layout Options > Site Layout.
Hope this helps.
Best Regards!!
-
AuthorPosts
- You must be logged in to reply to this topic.