Custom scrolling banners on left and right side of prestashop website

Hello, I want to ask for help. I would like some advice, I would like to set up banners on the opening page of my e-shop, but I am not a programmer. Can you advise me whether to use this hook or pre-prepare the hook so that it is displayed as I am sending the screen? The banner should move at the same time as you scroll. Thanks for help,




Hello,
if you expect to scroll the banners while someone will scroll website it will be enough to use displayHeader hook. You can even use our free html box module 
this free module gives possibility to add custom contents to displayHeader hook :)
 
in this case the most important are css styles.
css styles will make these banners scroll with page scrolling.
 
example of code to use in our free module
<style>
.myBanner_right {
position: fixed;
bottom: 20%;
right: 10px;
width: 100px;
height: 300px;
border: 3px solid #73AD21;
}
.myBanner_left {
position: fixed;
bottom: 20%;
left: 10px;
width: 100px;
height: 300px;
border: 3px solid #FF0000;
}
</style>

<div class="myBanner_right"></div>
<div class="myBanner_left"></div>

Share on Google Plus

About VEKIA

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment