12
Mar
2010
We’ve received a lot of requests recently to move the comment form to the top of the comment section rather than having it at the bottom. We prefer having the comment form at the bottom so your visitors have a chance to catch-up on the debate before posting their comment – that helps cut down on duplicate comments and encourages interaction. But it’s your site and we’re all about customization!
To make it happen, you need to add the following CSS to your Custom CSS page in your IntenseDebate account:
#idc-container-parent #idc-container {
position: relative;
padding-top: 320px;
}
#idc-container-parent #idc-container #IDCommentsNewThreadCover {
position: absolute;
top: 0;
left: 0;
width: 100%;
}
For more CSS help, check out our CSS Documentation and feel free to give us a shout at support@intensedebate.com with any questions. Oh, and don’t forget to check out our other styling tips to simplify your comment section design!
Posted by Michael Koenig in features
24
Oct
2009
This is the first in a series of articles which will hopefully inspire and help you style the IntenseDebate comment system so it fits better with your blog. We’ve reached a point in IntenseDebate’s history where the basic HTML and CSS classes the comment system is built on is solid, so now you should be able to style it more than ever, without fear of your new styles breaking in future updates.
Styling IntenseDebate: Simplify comment design
If you have a really clean and simple blog, you might find IntenseDebate’s pretty glossy comment headers and rounded corners a bit too much. With just a few simple CSS rules, you can alter the comment header to your own liking. In this tutorial we’ll be modifying the .idc-c-h
element, which is “ID language” for “.IntenseDebateComments-Comment-Header”.
How to use this guide
All styles can be added either to your “Custom CSS” box in your IntenseDebate admin panel (recommended, go to Settings>Custom CSS) or directly to your blogs/sites stylesheet.
- First, we’ll remove the normal background from the comment headers, apply a top border and make sure the padding and margins look good.
#idc-container-parent #idc-container .idc-c-h {
background: none;
border-top: 1px solid #ddd;
padding: 3px 0 0;
}
Background: none; means we’ve removed the normal background image. If you instead want a light gray background, you could try background: #f6f6f6;
!
- Next, we’ll remove the spacing around the comment elements that make it not align with our new pretty top border. If you add in these CSS elements, you should know how all of the comment contents perfectly aligned with the top border:
#idc-container-parent #idc-container .idc-c-h-inner {
margin: 0;
}
#idc-container-parent #idc-container .idc-c-t,
#idc-container-parent #idc-container .idc-c-b {
margin-left: 0;
margin-right: 0;
}
#idc-container-parent #idc-container .idc-c-b .idc-btn_s {
margin-left: 0 !important;
}
- Lastly, if you still want a special look for the comments posted by an admin, we can apply a special styling to admin comments by using the class
.idc-c.idc-admin
this class is used for all admin comments posted on your blog.
#idc-container-parent #idc-container .idc-c.idc-admin .idc-c-h {
border-top-color: #c00;
}
This style will exchange the light gray border we just added for a very fashionable dark red shade.
Tips on styling IntenseDebate:
- When you want to start styling IntenseDebate, and need to know what the elements in the comment system are called, we highly recommend FireBug, a developer extension for Firefox. Using the Inspect feature, you can just click the element you want to style, and it will bring up all the CSS associated by it, including what the element’s CSS class is. Pretty handy!
- Look up the element you want to style, for instance
.idc-c-h
and then apply #idc-container-parent
to the rule when you write the CSS. In this example, you would write #idc-container-parent #idc-container .idc-c-h
to style .idc-c-h, the comment header.
- Put your new CSS rules in the Custom CSS box in your IntenseDebate admin panel, located at Settings>Custom CSS.
Make sure you check out our CSS Documentation for a complete list of elements you can style in IntenseDebate with tips on how to modify them, and feel free to let us know if you have any questions. Until next time!
Posted by Isaac Keyet in features
20
Feb
2008
Many of you have told us that while you like the design of our comment system you want more control over the styling. Well, we’ve heard you and we’re excited to give you documentation of how the CSS classes work. Want to know how you can alter the look and feel of Intense Debate? For key elements, we have provided some useful examples to get you started. There are also uncompressed versions of the CSS files supplied, so you can check them for reference. Customize Intense Debate to better fit the design of your blog with your own custom CSS!
Check out the guide here!
Posted by Isaac Keyet in News