Remove date stamp and leave a comment links from Yoko theme blog posts
-
I would like to remove the date stamp and “leave a comment” links to the left of my blog posts on the front page of my website. I have the below code to remove the byline, so I imagine it is something similar:
header span.byline {
display: none;
}Thanks!
LaurenThe blog I need help with is: (visible only to logged in users)
-
Use the following CSS code to achieve it replacing previously added code for removing the byline.
header span.byline, body.home #content .entry-details { display: none; } -
Great – thanks! Now…can I remove the space where the byline and date stamp used to be so that my blog post is justified right?
Thanks again,
Lauren -
-
To make posts take up 100% of the space on the home page after you’ve hidden the post meta details on the left side in the Yoko theme, add this to your Appearance > Customize > CSS editor:
#content .entry-header, #content .entry-content { width: 100%; }When making a change to the width of posts, you should also adjust the content width setting in the Appearance > Customize > CSS panel. The setting is just under the editor. Try setting it to 822 after adding the CSS mentioned above. That setting will make it so embedded media like videos, full size images, and some shortcodes adjust to the right size automatically.
-
-
-
- The topic ‘Remove date stamp and leave a comment links from Yoko theme blog posts’ is closed to new replies.