Jump to content

[SOLVED] How to put the phone in the header (text or image)


Recommended Posts

Hello everyone

 

I would like to put the phone number in the shop header. I'm using Leo Mega Store theme in Prestashop 1.5.6.1.

 

I want to put it in the right, above the shopping cart. Two lines, for phone and email, would be perfect!

 

The shop is in maintenance mode by now, but if you want to see it, you can give me your IP. Also you can see the theme Mega Store

 

Thanks a lot

 

(SORRY FOR MY ENGLISH)

Edited by lixotuka (see edit history)
Link to comment
Share on other sites

use this code in free html block module:

<div style="font-size:20px; position:absolute; top: 30px; left: 250px;">phone: +48 1234567890</div>

on module configuration page select "Top" section.

then go to modules > positions tab and move it befor the block user info module on modules list named displayTop (not displayHeader!)

 

 

effect

xBpcL4T.png

Link to comment
Share on other sites

use this code in free html block module:

<div style="font-size:20px; position:absolute; top: 30px; left: 250px;">phone: +48 1234567890</div>

on module configuration page select "Top" section.

then go to modules > positions tab and move it befor the block user info module on modules list named displayTop (not displayHeader!)

 

 

effect

xBpcL4T.png

 

Thank you Vekia. I've done it. Now the phone can be seen as in the picture that you sent me. 
 
Is there any way to put it above the shopping cart?
Link to comment
Share on other sites

 

yes, you can do it with css styles,

i suggested to use code above, instead of it use this one:

<div style="font-size:20px; position:relative; top: 0px; right: 0px;">phone: +48 1234567890</div>

 

Thank you Vekia. I'm about to get.

 

Now I'm trying to increase the top margin a bit with the help of Firebug, but I can not find where I have to increase. 
 
Also, do not know if I could add a line under the phone to email.
 
Thanks a million, Vekia
Link to comment
Share on other sites

  • 2 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...