belilan Posted July 11, 2012 Share Posted July 11, 2012 Hello, I succeeded to add pictures on the left column of my site by adding this code in temlpate_bottom.php <div><?php if ($banner = tep_banner_exists('dynamic', 'sidepic')) { echo tep_display_banner('static', $banner); }?></div> <div><?php if ($banner = tep_banner_exists('dynamic', 'sidepic1')) { echo tep_display_banner('static', $banner); }?></div> <div><?php if ($banner = tep_banner_exists('dynamic', 'sidepic2')) { echo tep_display_banner('static', $banner); }?></div and then adding a banner, in group called "sidepic", "sidepic1","sidepic2", etc. My only small problem, as you can see on the printcapture in attachment is that the banners are touching themselves. banner 1 is touching banner 2. Does anyone know how I can have a space between each of them. Thank you. Link to comment Share on other sites More sharing options...
multimixer Posted July 11, 2012 Share Posted July 11, 2012 Add a margin to he divs that wrap the banners My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
belilan Posted July 11, 2012 Author Share Posted July 11, 2012 Could you please tell me precisly where I have to add it. I worked few hours to find that. As you know, I'm a beginner. Thank you. Link to comment Share on other sites More sharing options...
multimixer Posted July 11, 2012 Share Posted July 11, 2012 <div style="margin-top:10px;"> to your <div> that wrap the banner I would suggest, you stop doing anything and spend one day at least to learn some css My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
belilan Posted July 11, 2012 Author Share Posted July 11, 2012 I got that, but I don't know where is my <div> that wrap the banner. PS: I am trying to learn, I've been looking at that site you gave me a long time yesterday :P Link to comment Share on other sites More sharing options...
multimixer Posted July 11, 2012 Share Posted July 11, 2012 Ok, so you posted a code above There is 3 times a <div>, can you see it? This you replace with what I gave you PS Obviously you didn't spend enough time reading, so maybe you spend some more ? From what I see, you try to get someone to tell you exactly what you have to copy paste. That's not exactly "learning", is it? My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
belilan Posted July 11, 2012 Author Share Posted July 11, 2012 perfect. It works great thank you. PS: Actually, I did learn some things, because I succeeded to do some things myslef that I wold never have been able to do before. I only posted the problems I get. But I will definately spend more time on it. The problem is, that I have no knowledge in html, in php or css, and I don't really know where to start. Link to comment Share on other sites More sharing options...
♥14steve14 Posted July 11, 2012 Share Posted July 11, 2012 There are thousands of pages on google that explain basic html and css. All you have to do is to search, and you will find. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
belilan Posted July 11, 2012 Author Share Posted July 11, 2012 Yes I know, but in wich order should I start between html, php and css? Link to comment Share on other sites More sharing options...
multimixer Posted July 11, 2012 Share Posted July 11, 2012 The problem is, that I have no knowledge in html, in php or css, and I don't really know where to start. You need to start somewhere, best with basic html and css On the forum: Don't ask people to tel you what to copy paste blind, because you\ll never learn Only way to learn is to sit and spend hours reading and then try My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
belilan Posted July 11, 2012 Author Share Posted July 11, 2012 Ok I will do it. Thanks anyway for all the help you provided me. Alain. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.