Hi there,
I was trying to apply some changes to my site https://www.livelifegreen.de
Some worked and some didn’t. I removed everything but the publishing date on my page but the date seems not to be centered. Could you help me to achieve that?
And I would like to show the authors name on posts but now it’s gone there too. I really hope you can bring the author back on my post articles ?.
This is the coding I added:
/remove author and date/
.entry-meta {
visibility: hidden;
}
span.posted-on {
visibility: visible;
}
.entry-meta span:last-child {
display: none;
}
.entry-meta {font-size: 0px; }
.entry-date {font-size: 11px; }
.entry-title {
margin-bottom: 0px;
}
Thanks a lot and all the best
Alex
Hi there
Hope you are having a good day and thank you for your question
On which page, you want to center dates? they are centered for me …
You are hidding author with the css you have already applied
Thanks!
Colorlib Support Team
Hi Noda,
the dates are just a little bit to the left. If you look closely you can see it ?.
And yes I wanted to hide the author. But NOT on the posts. If you click a certain article I would like to show date and author. Is that possible?
Thank you and I really appreciate your work
Alex
Hi there,
Thanks for writing back.
In reference to the requests here, I would suggest on removing these codes:
.entry-meta {
visibility: hidden;
}
.entry-meta span:last-child {
display: none;
}
and add this code in order to hide the author on the home page:
.home span.author.vcard {
display: none !important;
}
As for the date display, actually it seems central. However, if you wish to control its positioning, I would suggest using this code:
.entry-date {
padding-left: 30px;
}
I hope this helps.
Best Regards,
Support,
Hi there,
Thanks for writing back.
In reference to the requests here, I would suggest on removing these codes:
.entry-meta {
visibility: hidden;
}
.entry-meta span:last-child {
display: none;
}
and add this code in order to hide the author on the home page:
.home span.author.vcard {
display: none !important;
}
As for the date display, actually it seems central. However, if you wish to control its positioning, I would suggest using this code:
.entry-date {
padding-left: 30px;
}
I hope this helps.
Best Regards,
Support,
Thank you soooo much! It worked :-D! Now the author is gone on the home page and there on posts. Is it possible to remove it on archive pages too without touching the posts? I tried with
.home .archive, span.author.vcard {
display: none !important;
}
but then the author is also gone on posts.
Just one more. How can I adjust the font-size of the author?
All the best and thank you for your effort
Alex
Hi there,
Thanks for writing back.
In that case, please try out the following codes:
.archive .author.vcard {
display: none !important;
}
span.author.vcard a {
font-size: 20px !important;
}
You can adjust the font size to that of your preference.
I hope this helps.
Best Regards,
Support.
You are a GENIUS ?! Thank you so much. What would I do without your help.
All the best
Alex
Hi there,
I’m glad I could help you out.
Please feel free to reach out once again in case of any more questions.
Best Regards,
Support.