Jump to content

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)

Share this post


Link to post
Share on other sites

you can do it with html box free module for example,

you can add there code with position:absolute and place phone number / image exactly there where you want.

 

Thanks for your answer, vekia.
 
I do not have extensive knowledge. Could you explain exactly what I do?

Share this post


Link to post
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

Share this post


Link to post
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?

Share this post


Link to post
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>
  • Like 1

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

you're welcome :)

im glad that i could help you in this case

thanks for marking thread as solved.

this topic will be usueful for other merchants with the same demands, 

definitely :)

 

with regards,

Milos

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More