Title: Remove a div?
Last modified: August 18, 2016

---

# Remove a div?

 *  Resolved [theolem](https://wordpress.org/support/users/theolem/)
 * (@theolem)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/remove-a-div/)
 * Hi, I just got my site up and running on wordpress, but i can’t figure out which
   site the comments form are on? There is a div to much in the code, but which 
   file do i edit to remove it?

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/remove-a-div/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/remove-a-div/page/2/?output_format=md)

 *  [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * (@alphaoide)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/remove-a-div/#post-266160)
 * Normally, the file to edit is `comments.php` in the active theme folder; otherwise,`
   index.php`.
 *  [Beel](https://wordpress.org/support/users/beel/)
 * (@beel)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/remove-a-div/#post-266161)
 * Depends on the theme you are using. As I recall, if the theme does not have a
   comments file, WP uses the default theme comment file. In that case, better to
   fix the theme than edit the default file.
 *  [Monika](https://wordpress.org/support/users/monika/)
 * (@monika)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/remove-a-div/#post-266162)
 * maybe
    comments.php or comments-pop-up or similar
 * if you can’t find the template
    open all and search for the comments..
 * there a template tags like author comments_text i.e.
 * Monika
 *  Thread Starter [theolem](https://wordpress.org/support/users/theolem/)
 * (@theolem)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/remove-a-div/#post-266166)
 * i have made my own theme, or i made a design and changed the blix theme into 
   mine. maybe a stupid way to do it, but…
 * here is an example of the problem:
    [http://www.morgenutgaven.com/archives/21](http://www.morgenutgaven.com/archives/21)
 *  Thread Starter [theolem](https://wordpress.org/support/users/theolem/)
 * (@theolem)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/remove-a-div/#post-266168)
 * i went through every file in the theme folder, but i can’t figure it out..
 *  [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * (@alphaoide)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/remove-a-div/#post-266169)
 * If the theme has the file `comments.php`, modify that.
    If it doesn’t have one,
   copy one from Default theme folder to your theme folder, and modify the copy 
   in your theme folder.
 *  Thread Starter [theolem](https://wordpress.org/support/users/theolem/)
 * (@theolem)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/remove-a-div/#post-266170)
 * i have tried that, but it doesn’t help.
    which files are being used in addition
   to comments.php, sidebar.php, footer.php and header.php?
 *  Thread Starter [theolem](https://wordpress.org/support/users/theolem/)
 * (@theolem)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/remove-a-div/#post-266174)
 * any suggestions?
 *  [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * (@alphaoide)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/remove-a-div/#post-266178)
 * List all the files you have in the current theme folder.
 *  Thread Starter [theolem](https://wordpress.org/support/users/theolem/)
 * (@theolem)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/remove-a-div/#post-266180)
 * 404.php
    archive.php archives.php bx_functions.php comments-popup.php comments.
   php contact.php footer.php header.php index.php page.php search.php page.php 
   sidebar.php single.php style.css
 *  [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * (@alphaoide)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/remove-a-div/#post-266185)
 * Paste the whole code for the following 2 files separately in [http://paste.uni.cc](http://paste.uni.cc)
 * `index.php
    comments.php
 * Come back and give us the links after pasting the code.
 *  Thread Starter [theolem](https://wordpress.org/support/users/theolem/)
 * (@theolem)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/remove-a-div/#post-266243)
 * index file:
    [http://paste.uni.cc/7781](http://paste.uni.cc/7781)
 * comments file:
    [http://paste.uni.cc/7782](http://paste.uni.cc/7782)
 *  [Beel](https://wordpress.org/support/users/beel/)
 * (@beel)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/remove-a-div/#post-266320)
 * The problem is not with your comments file. Try fixing your quotes div (wrapping
   a block level element with an inline element) and some of the other errors which
   may be causing the “not open div” message.
 *  Thread Starter [theolem](https://wordpress.org/support/users/theolem/)
 * (@theolem)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/remove-a-div/#post-266335)
 * when a permalink is clicked, which files are being loaded then?
 *  [Beel](https://wordpress.org/support/users/beel/)
 * (@beel)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/remove-a-div/#post-266337)
 * Depends on the theme. If there is a single.php then it is loaded along with the
   header and footer, otherwise index.php is used. Also if there is a comment.php
   file it is loaded, otherwise the file in the default directory is loaded.
 * That is irrelevant I believe. Your problem appears to be improperly nested tags
   as I noted.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/remove-a-div/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/remove-a-div/page/2/?output_format=md)

The topic ‘Remove a div?’ is closed to new replies.

 * 19 replies
 * 4 participants
 * Last reply from: [Beel](https://wordpress.org/support/users/beel/)
 * Last activity: [20 years, 7 months ago](https://wordpress.org/support/topic/remove-a-div/page/2/#post-266345)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
