Twenty Eleven: Change "Leave a reply" Prompt on Home Page
-
Is there a way to change the words “Leave a reply” on the home page posts?
Settings/Discussion/Comment works for the post itself, but not for the home page.
I think I’ve found the right section, since I was able to change the size with this:
.entry-header,.leave-reply {
font-size:120%;
}but I can’t figure out how to change the text to something else. Am I in the wrong section or is the text in the theme PHP, or…?
Thank you!
The blog I need help with is: (visible only to logged in users)
-
In your code example, “.entry-header,.leave-reply” will cover both post titles and the “Leave a reply” link, so you’ll want to target just the 2nd one.
Try this to update the “Leave a reply” text on the Twenty Eleven theme:
.leave-reply { visibility: hidden; } .leave-reply:before { visibility: visible; content: "Your text here"; } -
Thank you, this is perfect!
I did realize about the entry-header, but I would never have figured out the visibility and content.
Thank you!!
-
It does work, but then it also puts letters in the comment “bubble” at the top of the post. I suppose that disappears when there are comments, but when there aren’t it looks really odd.
How could I fix that?
Thanks!
-
Any ideas about this, since the code offered works, but causes problems in the comments “bubble” by putting the text in there?
I could delete the “bubble” and can figure out how to do that, but I’d rather have something that worked.
Thanks!
-
Thank you, timethief! That works to remove the bubble which is my second choice, and it may be easier to do that.
-
-
To prevent the content text from showing up in the bubble too, try updating to this instead of hiding the bubble:
.entry-meta .leave-reply { visibility:hidden; } .entry-meta .leave-reply:before { visibility:visible; content:"I Love Your Comments!"; } -
-
- The topic ‘Twenty Eleven: Change "Leave a reply" Prompt on Home Page’ is closed to new replies.