Title: Search Box Misaligned/Layout Issues
Last modified: March 3, 2023

---

# Search Box Misaligned/Layout Issues

 *  Resolved [aurorag](https://wordpress.org/support/users/aurorag/)
 * (@aurorag)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/search-box-misaligned-layout-issues/)
 * Hello,
 * After I updated Ajax Search Lite to Version 4.11, I noticed the placeholder text
   in the search box is no longer aligned properly.
 * I did not change anything in the backend search box layout options and I have
   tried clearing the cache as well as some other troubleshooting, but have not 
   been able to fix the problem.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsearch-box-misaligned-layout-issues%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [wpdreams](https://wordpress.org/support/users/wpdreams/)
 * (@wpdreams)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/search-box-misaligned-layout-issues/#post-16527580)
 * Hi,
 * The issue seems to be the widget container (where the shortcode is placed), it
   adds paragraphs and line breaks to the source code, causing the misalignment.
 * The best solution to this is to change the widget from a text widget to a shortcode
   or HTML widget if possible, that will resolve the problem.
 * If not possible, you can try a custom CSS to hide the extra line break characters,
   but that is not future proof:
 *     ```wp-block-code
       .asl_m br {
           display: none;
       }
       ```
   
 * Best,
   Ernest M.
 *  Thread Starter [aurorag](https://wordpress.org/support/users/aurorag/)
 * (@aurorag)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/search-box-misaligned-layout-issues/#post-16532432)
 * Thank you. Can you tell me where I would change the widget from a text to a shortcode
   or HTML?
 * For now I have added the custom CSS and it worked, but if the problem comes back
   I would like to be able to fix it.
 *  Plugin Author [wpdreams](https://wordpress.org/support/users/wpdreams/)
 * (@wpdreams)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/search-box-misaligned-layout-issues/#post-16540109)
 * It is very likely somewhere in your theme setting – maybe in the header widgets
   area or similar.
 * Best,
   Ernest
 *  Thread Starter [aurorag](https://wordpress.org/support/users/aurorag/)
 * (@aurorag)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/search-box-misaligned-layout-issues/#post-16540163)
 * Much appreciated, thank you!
 *  Plugin Author [wpdreams](https://wordpress.org/support/users/wpdreams/)
 * (@wpdreams)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/search-box-misaligned-layout-issues/#post-16540657)
 * You are very welcome 🙂
 * I will mark this thread as resolved then.
 * Feel free to rate the plugin if you like it, it is greatly appeciated.
 * All the best,
   Ernest

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

The topic ‘Search Box Misaligned/Layout Issues’ 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

 * [search bar](https://wordpress.org/support/topic-tag/search-bar/)
 * [search box](https://wordpress.org/support/topic-tag/search-box/)

 * 5 replies
 * 2 participants
 * Last reply from: [wpdreams](https://wordpress.org/support/users/wpdreams/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/search-box-misaligned-layout-issues/#post-16540657)
 * Status: resolved