Jump to content
romainb33

How to add a banner img under the header

Recommended Posts

Hello,

I wish add a banner for sales, under the header. I want to create a new hook and a new container for change sometimes the banner.

Thanks for your help and if someone if a french helper, tu peux écrire en français cela me permettra de ne pas galérer à comprendre^^

Romain. PS 1.6

forum_help.png

Share this post


Link to post
Share on other sites

I think you can make a simple module that hooks to displayTopColumn, or edit header.tpl in your  theme folder if the content doesn't need to be dynamic. If you do go for the module, you might want to check out my prestashop modules course, that's specifically for 1.6 and covers basically everything.

Share this post


Link to post
Share on other sites

Can you tell me what lines to write in the header.tpl in my theme folder to embed my banner?

 

thank you,

Share this post


Link to post
Share on other sites

It depends on your banner, you can use an image tag. If you put it in your theme's img folder, it would be something like <img src="{$img_dir}/imagename.jpg"/>

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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