• Resolved Kanger

    (@kanger)


    I was wondering if anyone knew which template file I could find the above div….

    I basically want to add a couple of images (left quotes and right quotes) to surround the <p> paragraph in the comment-content div
    (so when people leave a comment it is surround by some quote images)

    I’ve looked in comments.php, wp-includes/comments-template and can’t seem to find the correct place to edit this…

    any ideas appreciated (thanks)

Viewing 4 replies - 1 through 4 (of 4 total)
  • You could probably do this with pure CSS.

    Thread Starter Kanger

    (@kanger)

    well that’s how I approached it initially, but I have two images I want to use so therefore need to either surround it with another div or find html code. I don’t think it is possible to assign two images to a div background?

    It isn’t but would you be able to use the :first-child and :last-child pseudo selectors on the p tags?

    Thread Starter Kanger

    (@kanger)

    ooh thanks, didn’t realise I could use those pseudo class…yes that would probably work…

    big thanks!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to edit 'div . comment-content’ is closed to new replies.