Search 
Search Forums:


 




Comments showing up numbered and indented

Reply to Post
UserPost

8:11 pm
July 23, 2008


chalituna

Guest

I’m working on creating a custom template for my site and I’m almost done, but my comments keep showing up numbered and I don’t want them to. I’ve tried looking in the comments.php file but I don’t see anything that would indicate a numbering.

My comments also show up indented from one another. So comment one shows up fine, but each consecutive comment shows up indented from the one above. Any ideas?

Thanks

9:10 pm
July 26, 2008


Mike Fullerton

Guest

Hi, I’m having the same problem. Any ideas?

thanks

3:53 pm
August 1, 2008


chalituna

Guest

I still have yet to figure this out. I could really use some help if anyone out there knows how to get this done.

5:11 am
August 5, 2008


Aaron

Admin

posts 247

If the comments are showing up numbered it is a CSS issue that cna be resolved with the list-style-type declaration.

If all comments are showing up indented even if they are not replies, you have an open html tag that needs to be closed, look around for a <li> that doesn’t have a matching </li>.

2:34 pm
August 5, 2008


chalituna

Guest

I tried to edit the list style type but to no avail. Do I need to be making these edits in the stylesheet for my theme or do I need to do it in the core.css in the ajaxd plugin directory?

As for the indentation, I honestly don’t know where to look for that. I looked in the comments.php in the ajaxed directory, but I don’t see any li/ul/ol tags at all. Would this be within my template itself?

This is what my stylesheet looks like for comments. I’ve tried changing the ul. tags to li. and they started as ol. tags, but nothing seems to work. Any help is greatly appreciated. Thanks.

/* Comment Stuff */
.awpcomments ul.comments, .post_comments ul.comments {
padding-left:0;
margin-left:0;
list-style-type:none !important;
}

.awpcomments ol.comments * > ul.reply, .post_comments ul.comments * > ul.reply {
list-style-type:none;
padding-left:1.3em;
margin-left:0;
/*border-left: 1px dashed #477CAA;*/
}

.awpcomments * ul.reply{
list-style-type:none !important;
}

.authorcomment {
border:1px solid #c0c0c0;
background-color:#fafbfc;
color:#3C3C3C;
line-height:1.5em;
margin:3px;
padding:4px;
}

.commentbar {
display:block;
margin:0 !important;
padding:5px 5px 10px 5px !important;

font-weight:400;
text-align:left;
color: #000000;
background:#EEEEEE;
}

.commentbar cite{
font-style:normal;
}

.commentbar a {
font-weight:700 !important;
text-decoration:underline !important;
color: #E78B00 !important;
}

.commentbar a:hover {
text-decoration:none !important;
color: #E78B00 !important;
}
/*
.comment_form input[type=text], .comment_form textarea, .input {
font-size: 1.1em;
padding: 3px;
color: #606060;
background: #f3f3f3;
border: 2px solid #a5bbcf !important;
}

.comment_form input[type=text]:focus, .comment_form textarea:focus, .input:focus {
background: #fff;
color: #333;
border: 2px solid #90a9c0 !important;
}
*/
.preview_comment{
border: 2px solid #90a9c0 !important;
padding-top: 10px;
background: #ffffff url(’YOURSITE/modules/inlinecommentform/close_normal.gif’) top left no-repeat;
}
.comment_form input[type=text] {
width: 45%;
margin: 5px 5px 1px 0;
}

.comment_form textarea {
height: 250px;
width: 95% !important;
margin-right:4% !important;
font-size: 1.2em;
}

.comment_form input[type=submit],.comment_form input[type=button] {
background: #7EAED7;
border: 1px solid #90a9c0;
color: #FFFFFF;
}
.ed_button, .submit{
background: #7EAED7;
border: 1px solid #90a9c0;
color: #FFFFFF;
}

Reply to Post


Reply to Topic: Comments showing up numbered and indented

Name (Required):

EMail (Required):

Website):

Guest URL (required)

Math Required!
What is the sum of: 11 + 1        (Required)

Topic Reply:


 

About the Anthology of Ideas forum

Currently Online:

5 Guests

Maximum Online: 33

Forums:

Groups: 2

Forums: 6

Topics: 236

Posts: 720

Members:

There are 1 members

There are 227 guests

Aaron has made 247 posts

Top Posters:

Administrator: Aaron