Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I use Disqus comments plugin for Wordpress, and the comments section is indented to the right like a blockquote is.

The code appearing in the front end post is:

 <div id="disqus_thread">
    <div id="dsq-content">
        <ul id="dsq-comments">
        </ul>
    </div>
</div>

I cannot find any instance of disqus_thread or dsq using a search of the theme folder; not that searching inside file in Windows 7 isn't a complete pain in the arse.

Can you see why this is happening? Example post here.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Your #dsq-content div has a margin-left value of 30px. Add the following to the bottom of your WordPress theme's stylesheet to override it:

div#content div#disqus_thread div#dsq-content.clearfix{
    margin-left:0;
}

To edit a theme's stylesheet, go to the Appearance > Editor panel in the WordPress admin area.

share|improve this answer
    
I removed the .clearfix at the end of your CSS and it worked. Where did you find the original CSS with a margin-left of 30px? –  Steve Jun 28 '11 at 12:15
    
@Steve It's being pulled in from a stylesheet on disqus' server here. (I found that out by using Chrome's Web Inspector: screenshot.) –  Nick Jun 28 '11 at 12:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.