WordPress.org

Ready to get started?Download WordPress

Forums

Comment Width in Twenty Eleven (3 posts)

  1. CitizenOverload
    Member
    Posted 2 years ago #

    Hi there, I am using the Twenty Eleven theme, and my comments show up in a very narrow, long box. I'd like to expand the width of the comments so that they are as wide as the post, but I'm not sure where in the code I can find that. Any help would be greatly appreciated :)
    Thanks!

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. Create a child theme for your changes. Once your child theme is active, we should be able to help with the customisation.

  3. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    assuming the question refers to the site linked to your username:

    as the child theme is in place, add something like this to style.css of your child theme:

    .commentlist {
    	list-style: none;
    	margin: 0 0 0 12.3% ;
    	width:87.6%;
    }
    #respond {
    	margin: 0 0 0 12.3%; padding:4%; width: 79.6%;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.