Omidnag Posted September 9, 2013 Share Posted September 9, 2013 (edited) Hi guys, I want to add a script next to where my logo is, here is the link to my page www.tonia.se.I have tried to but the script in header.tpl after the logo script, but it moves the script behinde my logo and a bit above it. Tried to put the script in header_left, before {$HOOK_TOP} and after, but the postion is not next to the logo. I want it next to it, how can I fix that? Something like this: Logo Script Searchbar Here is the script: <a id="celink1" href="https://www.mysite.se/"><img id="ceimg1" alt=""src="https://www.mysite.se/lv5/preload.png" style="border:0px;"></a><script src="https://www.mysite.se/lv5/bootstrap.php?size=75&url=www.mysite.se&lang=se&autolang=yes&pos=auto&nr=1"defer="defer" type="text/javascript"> </script> I use prestashop 1.4.6.2. Best regards Omid Edited September 9, 2013 by Omidnag (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 9, 2013 Share Posted September 9, 2013 you want to display it here: ? btw. what this script doing? can you add it to your website right now? it will be much easier to test it when it will be included into page body Link to comment Share on other sites More sharing options...
Omidnag Posted September 9, 2013 Author Share Posted September 9, 2013 Yes exactly there. The script is something like truspilot but it is a swedish company, it shows that the shop is safe. I have put it in the footer right know with htlmbox module ( I believe it's your module ), Certifierad E-Handel, a green icon. Link to comment Share on other sites More sharing options...
vekia Posted September 9, 2013 Share Posted September 9, 2013 use this code: <div style="position:absolute; left:470px; top:70px;"> <a id="celink1" href="https://www.mysite.se/"><img id="ceimg1" alt="" src="https://www.mysite.se/lv5/preload.png" style="border:0px;"></a> <script src="https://www.mysite.s...hp?size=75& url=www.mysite.se&lang=se&autolang=yes&pos=auto&nr=1" defer="defer" type="text/javascript"> </script> </div> paste it right after <div id="header"> in header.tpl file located in your theme directory you can of course manipulate (increase / decrease) values of left and top in: <div style="position:absolute; left:470px; top:70px;"> Link to comment Share on other sites More sharing options...
Omidnag Posted September 9, 2013 Author Share Posted September 9, 2013 thanks my friend, it worked! =) Link to comment Share on other sites More sharing options...
vekia Posted September 9, 2013 Share Posted September 9, 2013 glad to hear that it works im going to mark this topic as solved if you have any questions related to this case - feel free to continue discussion here best regards 1 Link to comment Share on other sites More sharing options...
persos Posted July 4, 2015 Share Posted July 4, 2015 Hi, Thanks for your topic, works fine on my desktop after then I manipulate (Increase / Decrease) values of left and top. The problem is that the logo will move to the right on the iPad and iPhone. How can I lock the position? My shop is installed with PS1.6.1.14 Link to my shop www.dovadoumr.se BR Jan Link to comment Share on other sites More sharing options...
vekia Posted July 5, 2015 Share Posted July 5, 2015 responsive templates needs a little more that just placing the image with "top" and "left" modifiers. from what i see you probably already fixed the problem? or you just disabled own custom contents Link to comment Share on other sites More sharing options...
persos Posted July 5, 2015 Share Posted July 5, 2015 Hi Milos, thank you for helping me, the problem Is that the logo will move to the right on the iPad and iPhone. Can I lock the position whith any code? Logo appears entirely perfect in my PC. BR Link to comment Share on other sites More sharing options...
Recommended Posts