fatboy1 Posted November 13, 2024 Share Posted November 13, 2024 (edited) hello everyone I would like to change position of quick search bar from right to left, in classic theme Presta 8. I will be very appreciated for any help Edited November 14, 2024 by fatboy1 (see edit history) Link to comment Share on other sites More sharing options...
Divine Posted November 13, 2024 Share Posted November 13, 2024 Hello, Could you post a screenshot of what you want to obtain exactly please ? Link to comment Share on other sites More sharing options...
fatboy1 Posted November 13, 2024 Author Share Posted November 13, 2024 32 minutes ago, Divine said: Hello, Could you post a screenshot of what you want to obtain exactly please ? yes ofc Link to comment Share on other sites More sharing options...
pallavigodse Posted November 13, 2024 Share Posted November 13, 2024 Check for the quick search bar in header.tpl file within the Classic theme. Then you need to modify the HTML structure. Clear your cache and test changes. Link to comment Share on other sites More sharing options...
fatboy1 Posted November 13, 2024 Author Share Posted November 13, 2024 1 hour ago, pallavigodse said: Check for the quick search bar in header.tpl file within the Classic theme. Then you need to modify the HTML structure. Clear your cache and test changes. unfortunatley there's no search bar or search widget in header.tpl Link to comment Share on other sites More sharing options...
ComGrafPL Posted November 13, 2024 Share Posted November 13, 2024 44 minutes ago, fatboy1 said: unfortunatley there's no search bar or search widget in header.tpl Have you simple tried with css ? Change float from right to left. Link to comment Share on other sites More sharing options...
WebDesk Solution Posted November 13, 2024 Share Posted November 13, 2024 @fatboy1 To adjust the position of the quick search bar in the PrestaShop 8 Classic theme, follow these steps:Step 1: Open the CSS file for custom styles, usually found at (If this file does not exist, create them.)File Path: themes/classic/assets/css/custom.cssStep 2: Paste the following code into the custom.css file #header #search_widget { float: left; padding-left: 23px; } Step 3: In your PrestaShop admin panel, go to Advanced Parameters > Performance, and click Clear Cache.Step 4: Visit the front end to confirm that the quick search bar now appears on the left side. Review the screenshot for reference if needed. We hope this solution works for you! 1 Link to comment Share on other sites More sharing options...
Divine Posted November 13, 2024 Share Posted November 13, 2024 il y a 40 minutes, ComGrafPL a dit : Have you simple tried with css ? Change float from right to left. This is the correct answer You can also do it from custom.css like it was said by @WebDesk Solution Link to comment Share on other sites More sharing options...
fatboy1 Posted November 13, 2024 Author Share Posted November 13, 2024 1 hour ago, WebDesk Solution said: @fatboy1 To adjust the position of the quick search bar in the PrestaShop 8 Classic theme, follow these steps:Step 1: Open the CSS file for custom styles, usually found at (If this file does not exist, create them.)File Path: themes/classic/assets/css/custom.cssStep 2: Paste the following code into the custom.css file #header #search_widget { float: left; padding-left: 23px; } Step 3: In your PrestaShop admin panel, go to Advanced Parameters > Performance, and click Clear Cache.Step 4: Visit the front end to confirm that the quick search bar now appears on the left side. Review the screenshot for reference if needed. We hope this solution works for you! omg It works thank You very much Link to comment Share on other sites More sharing options...
fatboy1 Posted November 13, 2024 Author Share Posted November 13, 2024 1 hour ago, Divine said: This is the correct answer You can also do it from custom.css like it was said by @WebDesk Solution 1 hour ago, ComGrafPL said: Have you simple tried with css ? Change float from right to left. thank You Link to comment Share on other sites More sharing options...
Divine Posted November 14, 2024 Share Posted November 14, 2024 Don't forget to edit your first post and to add [Solved] in the title 1 Link to comment Share on other sites More sharing options...
fatboy1 Posted November 14, 2024 Author Share Posted November 14, 2024 24 minutes ago, Divine said: Don't forget to edit your first post and to add [Solved] in the title 24 minutes ago, Divine said: Don't forget to edit your first post and to add [Solved] in the title Please tell me where I can do this? Link to comment Share on other sites More sharing options...
Divine Posted November 14, 2024 Share Posted November 14, 2024 At the top right of your first post : Link to comment Share on other sites More sharing options...
fatboy1 Posted November 14, 2024 Author Share Posted November 14, 2024 11 minutes ago, Divine said: At the top right of your first post : Done, thx Link to comment Share on other sites More sharing options...
Divine Posted November 14, 2024 Share Posted November 14, 2024 Great, thank you 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