Change post date to text in Oxygen
-
Hello. I’d like to insert the text “Click here for more info” in the post date footer in featured posts using the Oxygen theme. Right now the footer is hidden, but if I can use it as text, I’d like to.
Any suggestions?
The blog I need help with is: (visible only to logged in users)
-
You can add text to the end of a link using CSS. Here is an example of adding text to the date line of featured posts in the Oxygen theme’s featured post slider:
.featured-post .entry-date a { padding-right: 7em; margin-right: -7em; } .featured-post .entry-date a:after { display: block; content: " Click here for more info."; } -
Thanks for your response! I tried the suggested CSS, but it’s not doing quite what I want. It will add the text after the date, but the date still displays. If I use the CSS that removed the date, nothing displays. Here’s what I have to remove the date:
.featured-post footer {
display: none;
}I’ve fiddled with it, but can’t get it to display the text instead of the date. Do you know what I’m doing wrong?
- The topic ‘Change post date to text in Oxygen’ is closed to new replies.