soufiane011 Posted January 26, 2015 Share Posted January 26, 2015 Hi everybody, Please, i need a help in order to change hook between Logo and search. You will find in attachement 2 pictures: First one called header-old: this my default hook and i want to be like the other picture which called header-new. Thank you. Link to comment Share on other sites More sharing options...
ajaxthemestudios Posted January 27, 2015 Share Posted January 27, 2015 Hi The logo is from the header.tpl while the search and cart blocks are hooked to the displayTop hook positioning. So you cannot arrange them. I think the only way this can be done is to position the logo and the other modules using CSS positioning. But you need to understand responsive design with bootstrap to do this. The other alternative which I have used myself is to create a module that display logo and hook it to the displayTop hook. Then disable logo in the header.tpl file. That way, you can now arrange the order of the modules and put the logo module in the center. All the best! Link to comment Share on other sites More sharing options...
soufiane011 Posted January 27, 2015 Author Share Posted January 27, 2015 Ok thank you, i Will tay to develop module which has logo in .tpl then I will remove logo from header.tpl Link to comment Share on other sites More sharing options...
vekia Posted January 27, 2015 Share Posted January 27, 2015 you don't have to develop module you can paste your code to blocksearch-top.tpl :-) paste it right after the <div> with search Link to comment Share on other sites More sharing options...
soufiane011 Posted January 27, 2015 Author Share Posted January 27, 2015 Hi vekia, I copied the code from header then I pasted in to blocksearch-top.tpl after div which has id search_block_top but without succes. I got just search and logo on the left and cart in the middle Link to comment Share on other sites More sharing options...
NemoPS Posted January 28, 2015 Share Posted January 28, 2015 Did you add it before the block? You need to add it afterwards Link to comment Share on other sites More sharing options...
soufiane011 Posted January 28, 2015 Author Share Posted January 28, 2015 Hi again, Thank you so much Nemo1 and vekia, it works after block, perhaps i didn't understand vekia when he said paste it right after the <div> with search, he means last div 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