hippooflove Posted April 13, 2013 Share Posted April 13, 2013 (edited) Hi all I need some help adding my phone number to the header of my shop. I think it needs to go in the header.tpl file but have no idea what the coding is and how to set it up. I would like it to go on the right hand side of the header. Please can anybody advise me. http://www.homesteadandgarden.co.uk Barry Edited April 14, 2013 by hippooflove (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted April 13, 2013 Share Posted April 13, 2013 Hi, In my opinion, it would be better to add a module, otherwise you're stuck to adding it as the first item in the "header_right" part. But if you really want to go plain, locate the header_right div in header.tpl, and add your code before {$hook_top} Of course, youll need to apply some right float to the element to have it sticking in the top right part Link to comment Share on other sites More sharing options...
hippooflove Posted April 13, 2013 Author Share Posted April 13, 2013 Thanks for the reply Nemo That would be fine. Can you give me an idea of what module to use please? Barry Link to comment Share on other sites More sharing options...
NemoPS Posted April 13, 2013 Share Posted April 13, 2013 You need to create one from scratch, or you can modify blockcontact and hook it to "displayTop" Link to comment Share on other sites More sharing options...
vekia Posted April 13, 2013 Share Posted April 13, 2013 you can use free html block module: http://contentbox.org/ or our free stuff: http://www.prestashop.com/forums/topic/189039-module-html-box-for-free/ install module, select header / top hook and insert own content. You can change module position in modules -> position Link to comment Share on other sites More sharing options...
hippooflove Posted April 13, 2013 Author Share Posted April 13, 2013 (edited) Thanks Vekia I have downloaded your free stuff module and it partly does what I want. I realize that its a free module and I am grateful for that but it moves my logo down on my header. Is there a way to add the details i have without causing this to happen. you can see what I mean at http://www.homesteadandgarden.co.uk If not, I can cope with it as it is but it would be even better if the above did not happen Barry Great module though. Edited April 13, 2013 by hippooflove (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 13, 2013 Share Posted April 13, 2013 we can fix it together :-) for which hook you added code? Link to comment Share on other sites More sharing options...
hippooflove Posted April 13, 2013 Author Share Posted April 13, 2013 Thank you It is set for header in the module and the hook is header of pages. Barry Link to comment Share on other sites More sharing options...
vekia Posted April 14, 2013 Share Posted April 14, 2013 I don't know how your tempalte code looks like, try to add it to the "top" hook, ok? And change position (modules -> positions) of this module, move it before the "top horizontal menu" Link to comment Share on other sites More sharing options...
hippooflove Posted April 14, 2013 Author Share Posted April 14, 2013 (edited) Thank you Vekia. With a bit of tweaking I am happy with the outcome. Your module is brilliant and just needed your expertise to guide me to correct the positioning. I appreciate your help. Barry Edited April 14, 2013 by hippooflove (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 14, 2013 Share Posted April 14, 2013 now it looks much better :-) i think that i can go ahead and mark this thread as solved, what you think? Link to comment Share on other sites More sharing options...
Recommended Posts