• Resolved smuffle89

    (@smuffle89)


    sorry if this has been asked before. i don’t quite know ho to search for it in the forums unfortunately. basically, on my comment forms, my comments are numbered (1,2,3…) and I don’t want that. Is there a piece of coding in the comments page or is this an automated WordPress function I can edit in my account?

Viewing 9 replies - 1 through 9 (of 9 total)
  • your comment.php file might have
    <ol> ... </ol> tags
    or oredered list..

    try to replace them with <ul> .. </ul>

    Thread Starter smuffle89

    (@smuffle89)

    now there’s bullets ??

    define a class inside a <ul> tag to remove the bullets

    or remove that <ul tag and define a class to style that comment

    Thread Starter smuffle89

    (@smuffle89)

    thanks. but how do i do that. i understand the “make a class” part but how would i start that.

    .ul {

    then what would i put just to simply make there appear no bullet

    no. dont edit that, it maybe a universal tag. just simply delete that

      ..

    tags and replace it with a span tag defining a class.

    <span class="commentx"> ... </span>

    then insert/modify your style.css

    .commentx
    { background-color: #000000;
    }

    PS: back up the file you are editing..

    Thread Starter smuffle89

    (@smuffle89)

    that didn’t work.

    coding from comments page:

    <span class="commentlist">
    	<?php wp_list_comments(); ?>
    	</span>

    coding from style sheet:

    .commentlist {
    	padding: 0;
    	text-align: justify;
    	}
    
    .commentlist p {
    	margin: 10px 5px 10px 0;
    }

    i think you are editing single-post template..

    edit the comments.php with this line.

    <?php comment_text() ?>

    some kickers and byline may be present on it.

    enclose them all with that tag.

    if it didnt work, give me your link.

    Thread Starter smuffle89

    (@smuffle89)

    i really don’t know what is going on if there is more than one comments.php page lol

    link: site

    ok i take a look at it. my page uses number. site

    anyway,
    edit comments.php and look for:

    <span class="commentlist">
    			<li class="comment

    replace the `<li class=”comment

    with

    <div class=comment
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘removing numbers from comment page’ is closed to new replies.