Title: CSS issues &#8211; clash with &#039;content&#039; div
Last modified: August 21, 2016

---

# CSS issues – clash with 'content' div

 *  Resolved [dublin_dara](https://wordpress.org/support/users/dublin_dara/)
 * (@dublin_dara)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/css-issues-clash-with-content-div/)
 * Hi Agentevolution,
 * I came across a small issue in your plugin which I managed to resolve but I wanted
   to share with you and the community.
 * In my theme, there is a ‘content’ div with a particular background image. I noticed
   that your plugin when used with my theme was displaying the background image 
   twice.
 * When I checked the page source, I saw that there were now 2 ‘content’ divs and
   this is why the image was being displayed twice. One content div was the one 
   within my theme and then there was another content div which seemed to have been
   inserted by your plugin.
 * To stop your content div using the css meant for my div, I needed to rename my
   content div and of course change the reference to this div in my css.
 * Since ‘content’ is a commonly used word for ids within people’s themes it’s probably
   a good idea if you rename your content div to something else, thus reducing the
   risk of clashes and unintended consequences.
 * Now that I have managed to troubleshoot some of these small issues the listings
   are appearing very nicely and I am very happy with your plugin..many thanks..
   Dara
 * [https://wordpress.org/plugins/wp-listings/](https://wordpress.org/plugins/wp-listings/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [agentevolution](https://wordpress.org/support/users/agentevolution/)
 * (@agentevolution)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/css-issues-clash-with-content-div/#post-4964435)
 * #content is a commonly used name but is usually only used within the content 
   area and after the_header() function call so it’s appropriate in our usage within
   the plugin. Your theme is apparently adding the #content div to the_header() 
   function which is not ideal.
 * Could you tell us what theme you are using?
 * Rather than rename your theme files, as mentioned in your other post, you can
   copy the templates within the plugin into your theme folder and customize as 
   needed to fit your theme.

Viewing 1 replies (of 1 total)

The topic ‘CSS issues – clash with 'content' div’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-listings_978e8f.svg)
 * [IMPress Listings](https://wordpress.org/plugins/wp-listings/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-listings/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-listings/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-listings/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-listings/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-listings/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [agentevolution](https://wordpress.org/support/users/agentevolution/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/css-issues-clash-with-content-div/#post-4964435)
 * Status: resolved