Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banner


Guest

Recommended Posts

Posted

Hello guys,

 

I need to add a gif banner beside the template on the main page of my online store. To add banners in the template is no problem, but i need help to add it on the outside of the template. Can someone please help?????

Posted

What do you mean 'outside the template'?? Html code is between tags:

<body></body>

 

This includes the header, body, and footer - all browser displayed images and text. If you want to add something it will be in here somewhere.. To me -- that is the template..

 

Where exactly do you want to display it?? Outside the right and left columns at the top??

Lloyd

Posted

Are you using a particular template or is this a clean install of OSC 2.2 RC2?

 

As the previous photofxplus mentioned anywhere between the body tags will show a banner.

 

Possible placement of banner ads can be in

 

header

footer

in a new infobox

 

if you want the banner on every page of your site.

 

 

~~~Tapuahk

Posted

I have made a gif banner that i want to add on the right side of my main page .....http://www.style4less.no How can i do this?

Posted
What do you mean 'outside the template'?? Html code is between tags:

<body></body>

 

This includes the header, body, and footer - all browser displayed images and text. If you want to add something it will be in here somewhere.. To me -- that is the template..

 

Where exactly do you want to display it?? Outside the right and left columns at the top??

 

I have made a gif banner that i want to add on the right side of my main page to show on every page

..... http://www.style4less.no How can i do this?

Posted

Your page is contained apparently by the <div> tags:

<div class="fixcenter">

 

You will need to add your banner before this tag. Such as:

 

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

Your image code goes here

<!-- header //-->

<div class="fixcenter">

Lloyd

Posted

If you took a look at my site on the left you can see a floating banner. I want to do the same on the right but not floating. So, what code do i need to add for this to work? can i use the above code?

Posted

If you want tit on the right than put your image source code in before the <div> tag at the top of the page:

 

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<img src="file:///D:/programs/xampp/htdocs/photofxplus/catalog/images/display/tmbNl/a_seal_thing_mpr.jpg" align="right">

<!-- header //-->

<div class="fixcenter">

 

 

Would be:

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<img src="file_path_to_your_banner" align="right">

<!-- header //-->

<div class="fixcenter">

Lloyd

Posted

Could this be the correct file?

 

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<img src="http://www.Style4less.no " target="_blank"><img src="nextweek.gif" width="195" height="500" border="0"></a><br />" align="right">

<!-- header //-->

<div class="fixcenter">

Posted

I do not know what file that is.. In osC root directory 'catalog' all files have the body tag..

 

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<!-- header //-->

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

<!-- header_eof //-->

 

<!-- body //-->

 

So whatever pages you wish to add the outside banner, than you would need to add the code.

 

But test it first on one page.. And before you edit any page - make a backup of that page!!!!!!

Lloyd

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...