Need help? Check out our Support site, then


Twenty Eleven: Change "Leave a reply" Prompt on Home Page

  1. sensuousinkspiller
    Member

    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 {<br /> font-size:120%;<br /> }

    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 sensuousinkspiller.com.

  2. 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";
    }
  3. sensuousinkspiller
    Member

    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!!

  4. sensuousinkspiller
    Member

    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!

  5. sensuousinkspiller
    Member

    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!

  6. sensuousinkspiller
    Member

    Thank you, timethief! That works to remove the bubble which is my second choice, and it may be easier to do that.

  7. Hooray! I'm so happy that helped. :)

  8. 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!";
    }
  9. sensuousinkspiller
    Member

    Perfect, and I get the bubble back! :-)

    Thanks, designsimply!

  10. Bubbles! :) hehe

Topic Closed

This topic has been closed to new replies.

About this Topic