Jump to content

[SOLVED] Banner on left side from left column


Recommended Posts

Hello, 

is there any way to create img or banner on left side from left column?

Check img in atachment, please, it is marked by red square.

 

I was looking on forum but find only banners in left column, but I need this banner in left side from left column.

 

Sorry for my English.

 

 

 

post-710185-0-22711300-1397819179_thumb.png

Link to comment
Share on other sites

 

you can do it with free html box module.

 

you can paste code to the left column with proper css styles

 

for example:

<div style="width:200px; display:block; position:absolute; left:200px;">
MY BANNER IMAGE HERE
</div>

and one more Q what is code in css, if I want fix banner ln upper left corner.

I mean if I am scrolling down page and I want that this banner still stay in upper left corner of my display, when page is scrolled up or down.

I hope you know what I mean. 

Link to comment
Share on other sites

well, I tried it with your html editor.

I open it and select left column, then editor OFF and paste this there

 

<div style="width:200px; display:block; position:absolute; left:200px;">
</div>
 
after save code was:
 
<div 200px="" display:block="\"\"" position:absolute="\"\"" left:200px="\"\"">
<div style="0width: 200px;" display:block="" position:absolute="" left:200px=""><br /><img src="\"http://slovbunc.net76.net/prestashop/themes/default/img/onsale_en.gif\"" /></div>
</div>
 
here is result:
 
positioon of image (banner) is not in upper left corner of display, or left from left column.
Link to comment
Share on other sites

your host probably use magic_quotes directive, or your host use old outdated php version

 

can you say something more about host configuration? (things related to php and magic_quotes directive)

it was just beta server, I get it to my main server, but the banner is down at the left column.

On this server is php 5.4 and info about magic:quotes where can I find it?

 

Check my site, please.

 

www.pondy.sk

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

Vekia let me know what should I do please? I edited your code in google development 

 

<div style="width:200px; display:block; position:absolute; left:-100px; top:0px;">
</div>

after this position was OK, but I dont know if can I do it by this way (value in left is negative)

P.S.

if I tried position:fixed banner totaly disapear, what is wrong?

Link to comment
Share on other sites

then scroll page to top ;) you will see it there (with left:100px)

oh that fun with position:absolute and left: -100px it is okay

and then with position:fixed and left: 100px it is okay, too omg :D

 

Now everything is ok, you are really presta legend.

 

One more time, thank you very much!

Link to comment
Share on other sites

  • 5 months later...
×
×
  • Create New...