• I’ve set the comment form and any comments to display below every post, on each page. Since I’m trying to target the h3 #reply-title for post, it needs to be a class, not an id.

    Where would I find the change? I’ve made change to comment-template but it doesn’t seem to make the change.

Viewing 2 replies - 1 through 2 (of 2 total)
  • it needs to be a class, not an id.

    Why?

    Thread Starter amperandsand

    (@amperandsand)

    I’ve styled the comments and comment form to lay on top of eachother and behave kind of like tabs.

    here’s the idea:
    If there are comments, the reply form (except for #reply-title) is hidden. To leave a comment, click on #reply title to reveal the form and hide the comments. Click comment title to hide form and see comments.

    In debugging, I’ve added an alert (“click!”) when the reply-title is clicked. It’s not firing on pages with multiple forms, comments. On individual pages it’s working.

    The number of comments title always fires “click!”, I assume because it’s a class.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘twentyeleven theme, change id reply-title to a class’ is closed to new replies.