nickosn Posted February 6 Share Posted February 6 Hi I want to move the user and cart icon after the searbar in the same row but can't find a way to do it. First when trying to access the position menu in BO I get an 500 error. I edited the header.tpl file instead moving {hook h='displayNav2'} under {hook h='displayTop'} but then I can't find a way to style it to show all in one row. Can anybody help? Thanks Link to comment Share on other sites More sharing options...
Ewonta Posted February 7 Share Posted February 7 Hello, please attach screenshots and try to describe the problem in more detail. Link to comment Share on other sites More sharing options...
nickosn Posted February 7 Author Share Posted February 7 Hi, Thanks for anwsering. In the first image (original) is how it looks now. Second image (wanted) is how I need it to be Thanks again Link to comment Share on other sites More sharing options...
Ewonta Posted February 7 Share Posted February 7 You need to disconnect two modules from the displayNav2 hook in the admin panel at Design > Positions (screenshot) And attach them to the displayTop hook Distribute by position and make a flex block so that all the elements line up (screenshot)themes/yuor_theme/templates/_partials/header.tpl <div class="header-top-right col-md-10 col-sm-12 position-static" style="display: flex;justify-content: space-between;"> {hook h='displayTop'} </div> I recommend doing this in child_classic so that all your changes are saved when updating Styles can be rendered in custom.css Link to comment Share on other sites More sharing options...
nickosn Posted February 7 Author Share Posted February 7 Thank you very much!. A problem that I am having is that when I try to access the position from the backoffice I get an error 500. Is there an other way I can do this ? Link to comment Share on other sites More sharing options...
Ewonta Posted February 7 Share Posted February 7 To see what caused error 500, turn on debugging mode at Advanced Parameters > Performance (screenshot) And send a screenshot of the error. Link to comment Share on other sites More sharing options...
nickosn Posted February 7 Author Share Posted February 7 here are the screenshots hope they help Link to comment Share on other sites More sharing options...
Ewonta Posted February 7 Share Posted February 7 You sent something wrong, don't open the debugger. Just send the error you see to understand. Link to comment Share on other sites More sharing options...
nickosn Posted February 7 Author Share Posted February 7 With the debug option on and clicking on positions I just get this: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error. More information about this error may be available in the server error log. Link to comment Share on other sites More sharing options...
Ewonta Posted February 7 Share Posted February 7 Can you send me a screenshot? Link to comment Share on other sites More sharing options...
nickosn Posted February 7 Author Share Posted February 7 Here it is Link to comment Share on other sites More sharing options...
Ewonta Posted February 7 Share Posted February 7 This is a server error, please contact support hosting to find out and help with this error. Link to comment Share on other sites More sharing options...
nickosn Posted February 7 Author Share Posted February 7 trying to contact them a few days ago with no luck so far "contact the software developer" we only support wordpress was the response Meanwhile I edited the header.tpl removed {hook h='displayNav2'} from its original place and added this <div class="header-top-right col-md-10 col-sm-12 position-static" style="display: flex;justify-content: space-between;"> {hook h='displayTop'} {hook h='displayNav2'} </div> Almost there. If I could only find a way to manage the spaces between them Link to comment Share on other sites More sharing options...
nickosn Posted February 7 Author Share Posted February 7 almost there. Need to find a way to make the searchbar cover the blank space Link to comment Share on other sites More sharing options...
Ewonta Posted February 7 Share Posted February 7 @media only screen and (min-width: 992px) { #search_widget { min-width: 17.5rem; } } custom.css 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