Title: Force Image Width ?
Last modified: September 1, 2016

---

# Force Image Width ?

 *  [Need4WPspeed](https://wordpress.org/support/users/need4wpspeed/)
 * (@need4wpspeed)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/force-image-width/)
 * Hello, how do I force image dimensions as Image options – Image Width/Height 
   has no effect.
    I even tried to force with CSS on theme style-underline.css:
 *     ```
       div[id*="ajaxsearchliteres"] .results .item .asl_image {
           width: 300px;
           height: 300px;
       }
       ```
   
 * still with no success.
    I have cleared all caches. Can you please suggest how
   to achieve this? Thank you
 * [https://wordpress.org/plugins/ajax-search-lite/](https://wordpress.org/plugins/ajax-search-lite/)

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

 *  Plugin Author [wpdreams](https://wordpress.org/support/users/wpdreams/)
 * (@wpdreams)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/force-image-width/#post-7681445)
 * Hi!
 * Indeed, it has no effect, I have noted this as a bug.
 * Instead of replacing the code in the file directly, I suggest using this custom
   CSS:
 *     ```
       .results .item .asl_image {
           width: 300px !important;
           height: 300px !important;
       }
       ```
   
 * Hopefully it will do the trick.
 *  Thread Starter [Need4WPspeed](https://wordpress.org/support/users/need4wpspeed/)
 * (@need4wpspeed)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/force-image-width/#post-7681448)
 * unfortunately had no effect. Will you be fixing this in an update any time soon?
   Love the plugin!!!
 *  Plugin Author [wpdreams](https://wordpress.org/support/users/wpdreams/)
 * (@wpdreams)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/force-image-width/#post-7681449)
 * Sure, within the upcoming update as soon as possible 🙂
 * Also, make sure to clear your cache (including browser, page, minify CDN, cloudflare
   if you use any). I’m almost 100% sure that the code should do the trick.

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

The topic ‘Force Image Width ?’ 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

 * [image width](https://wordpress.org/support/topic-tag/image-width/)

 * 3 replies
 * 2 participants
 * Last reply from: [wpdreams](https://wordpress.org/support/users/wpdreams/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/force-image-width/#post-7681449)
 * Status: not resolved