george tsi Posted October 13, 2021 Share Posted October 13, 2021 hi! after update 1.7.8 my webpage search bar its completely messed up. the module was disabled by default after the update and when i re-enabled it well... this happened. any idea? i use a theme ofc and probably is incopatible, but it says that it is compatible to 1.7.x. any help is really appreciated. thanks! Link to comment Share on other sites More sharing options...
Roberto P Posted October 13, 2021 Share Posted October 13, 2021 Me too!! Link to comment Share on other sites More sharing options...
WISYWIG Posted October 14, 2021 Share Posted October 14, 2021 (edited) Hi You can do this: In custom.css add following code: #search_widget { overflow: hidden; } #search_widget form i { top: -20px; } .search-widget form button[type="submit"] { width: 4.5rem; } In my case: Before: After: Depending on your Theme you might have to adjust the above code to make the search bar look properly. And make sure your modules are up to date. Hope this helps. Edited October 14, 2021 by WISYWIG (see edit history) 1 Link to comment Share on other sites More sharing options...
Roberto P Posted October 14, 2021 Share Posted October 14, 2021 3 hours ago, WISYWIG said: Hi You can do this: In custom.css add following code: #search_widget { overflow: hidden; } #search_widget form i { top: -20px; } .search-widget form button[type="submit"] { width: 4.5rem; } In my case: Before: After: Depending on your Theme you might have to adjust the above code to make the search bar look properly. And make sure your modules are up to date. Hope this helps. Which folder contains that file?? Thx Link to comment Share on other sites More sharing options...
WISYWIG Posted October 14, 2021 Share Posted October 14, 2021 themes/yourtheme/assets/css Link to comment Share on other sites More sharing options...
Roberto P Posted October 14, 2021 Share Posted October 14, 2021 9 minutes ago, WISYWIG said: themes/yourtheme/assets/css I just do it and dont runs for me Link to comment Share on other sites More sharing options...
WISYWIG Posted October 14, 2021 Share Posted October 14, 2021 Clear browser cache and try again. If it still does not work: Check source code of your website. Does custom.css get loaded there? You should see something like this: <link rel="stylesheet" href="https://www.your-domain.com/themes/yourtheme/assets/css/custom.css" type="text/css" media="all"> Link to comment Share on other sites More sharing options...
Roberto P Posted October 14, 2021 Share Posted October 14, 2021 I try whit other browser (that never used) and dont runs. I have put that code in the correct file (mydomain/themes/name_of_theme/assets/css/custom.css) but still bad. I try remplacing module from a backup and runs ok. Thaks for your answers Link to comment Share on other sites More sharing options...
WISYWIG Posted October 14, 2021 Share Posted October 14, 2021 OK, all good then 🙂 Link to comment Share on other sites More sharing options...
george tsi Posted October 14, 2021 Author Share Posted October 14, 2021 In my case, i looked a little bit more after posting this and i've contacted the theme developer also(awsome guys there!) and they had already updated their theme for PS 1.7.8. its operating like a charm again. i dint check your solution WISYWIG thogh. thank you anyway for your time, much appreciated. i dont know if i am permited to tell what theme i use but in case i am, i can post the devs update page for you guys. Link to comment Share on other sites More sharing options...
musicmaster Posted October 17, 2021 Share Posted October 17, 2021 See also https://github.com/PrestaShop/PrestaShop/issues/25594 Link to comment Share on other sites More sharing options...
Alex Nicoli Posted August 13, 2023 Share Posted August 13, 2023 Did anyone solved this? I have just upgraded presta to 1.7.6.3 to 1.7.8.10 and searchbar doubled with white stripe. Any advice? Link to comment Share on other sites More sharing options...
endriu107 Posted August 13, 2023 Share Posted August 13, 2023 Probably you didn't update your theme. Issue is that this module didn't need anymore its tpl file in theme catalog. Go to themes/your_theme/modules/ps_searchbar and rename ps_searchbar.tpl file. Clear cache in your shop and browser. Let me know if it helps. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now