Tagged: delete post date on homepage
- This topic has 6 replies, 4 voices, and was last updated 2 weeks, 5 days ago by Theme Horse Support Team.
-
AuthorPosts
-
August 15, 2023 at 11:27 am #106194Hoang Minh LeParticipant
Hello,
I just purchased the NewsCard Pro theme and am quite pleased with its ease of use. However I would like to ask this one question. On the homepage will show the post date and author of the post, and when clicking to view each post, the same. This is only suitable if it is a personal blog, but if it is a newspaper site, it is not very suitable.
So I want to ask is there a way to customize the theme to delete the post date and author of the post on the homepage, and when clicking to read the post, delete the author of the post, keeping only the post date?
August 17, 2023 at 12:23 pm #106204Hoang Minh LeParticipantHello, anyone here to support me?
September 3, 2023 at 7:38 am #106341Theme Horse Support TeamKeymasterTo hide the post date and author link from the home-page posts and just author in the posts single page just login to your admin dashboard and go to Appearance > Customize > Additional CSS and paste below custom CSS code:
.home .post-block .entry-meta, .single .entry-meta .author { display: none; } .home .post-block .entry-meta.category-meta { display: block; }
Thank you!
October 24, 2023 at 9:07 am #107065joeboowParticipantI wish there was a way to delete the author from the homepage but leave it on the post pages.
But I cannot find any CSS code that will achieve this?
November 20, 2023 at 7:32 am #107308Theme Horse Support TeamKeymasterHi @joeboow,
To hide the author from the homepage but leave it on the post pages just login to your admin dashboard and go to Appearance > Customize > Additional CSS and paste below custom CSS code:
.home .entry-meta .author { display: none; }
Thank you!
April 5, 2024 at 2:07 pm #108936Turgay GülParticipantThanks that work for me to but now there is a / like before CSS Date / Autor and after CSS is Date /
We want the / to hide to. Can you give a CSS example. ThanksApril 13, 2024 at 8:11 am #109258Theme Horse Support TeamKeymasterHi @turgay-gul,
To hide
/
just add the below custom CSS code:.home .entry-meta > div:after { content: " "; }
Thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.