Duet theme – hide post date
-
Hi, how can I hide post dates under Duet?
I have tried the following codes:
/* Hide post date */
article.post .post-title h4 {
visibility: hidden;
}and
.post-title h4 {
visibility: hidden !important;
}But in the preview it had to effect. I don’t have neither the theme nor the custom CSS upgrade yet, but it should appear in the preview anyway, shouldn’t it?
Thanks in advance!
The blog I need help with is: (visible only to logged in users)
-
The wordpress.com demo is this:
http://duetdemo.wordpress.com/To remove the date and the dotted lines, you’d add this:
.post-title { border: 0 none; } .post-title h4 { display: none; } -
-
-
-
Add this:
.entry-footer .alignleft { display: none; }But then the rest of the entry footer will look misaligned, so I’d probably center it:
.entry-footer { padding-bottom: 22px; } .entry-footer .alignright { float: none; margin: 0; text-align: center; text-indent: 0; } -
Hm, I would like to make it disappear from next to the “Read more” link on the front page, but after saving this code, it remains the same. Anyway, I really appreciate your help!
-
-
I removed the code, but put there again. It definitely does something, because the comment counter is in one line with the more tag now, and it’s beautiful, so I’m OK with it.
-
You added the code that centers the read-more link but omitted the code that removes the comment link. Quoting myself:
Add this:
.entry-footer .alignleft { display: none; } -
Ah, my mistake, your solution is perfect, thanks again! (But I like it more this way, with comment counter and centered more tag.) Sorry for being so blonde.
- The topic ‘Duet theme – hide post date’ is closed to new replies.