Title: Broken Layout
Last modified: August 24, 2016

---

# Broken Layout

 *  Resolved [viperdh](https://wordpress.org/support/users/viperdh/)
 * (@viperdh)
 * [11 years ago](https://wordpress.org/support/topic/broken-layout-3/)
 * Hi,
 * When using the search the results do not display correctly, each result has a
   space under it of about half a page.
 * I have disabled every single plugin except yours and it is still doing it so 
   I am thinking it’s the theme I am using, ‘Activehost’.
 * I don’t want to give out the URL publicly but am happy to give it to you privately.
 * Screenshot of search results:
    [http://i.imgur.com/8Yr1d3L.png](http://i.imgur.com/8Yr1d3L.png)
 * [https://wordpress.org/plugins/ajax-search-lite/](https://wordpress.org/plugins/ajax-search-lite/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [wpdreams](https://wordpress.org/support/users/wpdreams/)
 * (@wpdreams)
 * [11 years ago](https://wordpress.org/support/topic/broken-layout-3/#post-6147879)
 * Hi!
 * Yes, it looks like a CSS problem. It’s either a padding bottom, margin bottom
   or a visible :after pseudo element added by the theme.
 * Before disclosing your url, try the custom CSS fixes, one of them might work 
   or at least make a difference:
 *     ```
       .resdrg .item {
          margin-bottom: 0 !important;
          padding-bottom: 0 !important;
       }
       ```
   
 * Or
 *     ```
       .resdrg .item .content {
          margin-bottom: 0 !important;
          padding-bottom: 0 !important;
       }
       ```
   
 * Or
 *     ```
       .resdrg .item:after {
          content: " ";
          display: none;
       }
       ```
   
 * Or finally:
 *     ```
       .resdrg .item .content:after {
          content: " ";
          display: none;
       }
       ```
   
 * I have a feeling that the first or the second one is going to work.
 *  Thread Starter [viperdh](https://wordpress.org/support/users/viperdh/)
 * (@viperdh)
 * [11 years ago](https://wordpress.org/support/topic/broken-layout-3/#post-6147904)
 * Hi wpdreams,
 * Thank you for taking the time to respond. I have tried all 4 sections of css 
   code and none seemed to make a difference. I was placing it into the css file(
   style.css) for the active theme (ActiveHost).
 * I have done an install on a tmp url and installed your addon so I can link it.
   
   [http://menucss.mytempsite.nz/wp/index.php/support/](http://menucss.mytempsite.nz/wp/index.php/support/)
 * I understand this isn’t really a problem with your plugin it’s a conflict with
   the theme so I really do appreciate any help you can give on getting them to 
   play nice together.
 * If you would like login details to the wordpress install you can email me at 
   [ajaxsearchlite@kiwidan.com](https://wordpress.org/support/topic/broken-layout-3/ajaxsearchlite@kiwidan.com?output_format=md)
 *  Plugin Author [wpdreams](https://wordpress.org/support/users/wpdreams/)
 * (@wpdreams)
 * [11 years ago](https://wordpress.org/support/topic/broken-layout-3/#post-6147905)
 * Hi!
 * Thank you for the link, I’ve found the problem. There was a global min-width 
   attribute set to 361 pixels to “item” classes, so that’s why it was so strange.
 * The solution is very simple:
 *     ```
       div[id*="ajaxsearchliteres"] .results .item {
           min-height: 0;
       }
       ```
   
 * That should do the trick!
 *  Thread Starter [viperdh](https://wordpress.org/support/users/viperdh/)
 * (@viperdh)
 * [11 years ago](https://wordpress.org/support/topic/broken-layout-3/#post-6147913)
 * Hey,
 * Wow, that did the trick thank you so much! No idea how you managed to work that
   out so quick without even having any access (only viewing).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Broken Layout’ is closed to new replies.

 * ![](https://ps.w.org/ajax-search-lite/assets/icon-256x256.png?rev=3192672)
 * [Ajax Search Lite - Live Search & Filter](https://wordpress.org/plugins/ajax-search-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-search-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-search-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-search-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-search-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-search-lite/reviews/)

## Tags

 * [custom theme](https://wordpress.org/support/topic-tag/custom-theme/)
 * [layout](https://wordpress.org/support/topic-tag/layout/)

 * 4 replies
 * 2 participants
 * Last reply from: [viperdh](https://wordpress.org/support/users/viperdh/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/broken-layout-3/#post-6147913)
 * Status: resolved