Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding an additional static image 'box'


steveinbaz

Recommended Posts

Posted

Hi,

Any suggestions gratefully received..

I want to add a static graphic image above the main store header on all pages.. same width as the main header where the logo and cart buttons are.. yes this is purely a 'look' thing.

Is there an easy way to add another 'row' and put an image in it? If so, can anyone advise where and how this could be done?

Many thanks
Steve

Posted

Normal 2.3.4, open up the /includes/header.php and make your code edits to add the new image...

 

Do you need more help than that ?

Posted

I do really.. But I'm going to put my goggles on and have a go first!

May I come back if I bodge it up please? :)

Posted

I do really.. But I'm going to put my goggles on and have a go first!

 

May I come back if I bodge it up please? :)

 

If you have a go first, I got time for you if it goes wrong.  :thumbsup:

Posted

Reasonable success I think. I just plonked a div table at the top of  /includes/header.php and a test image, though it has appeared within the wrapper I think, but I can live with that I guess.
Its really just a portfolio site for my own artwork, so I have turned a lot of the features off.. (though I hope to sell some of my own prints later).. So I wanted more opportunities for a bigger image area up the top.

Managed to get a full screen background in too, though I am a bit of a guesser seems ok in 3 browsers.


http://www.dancingfrogemporium.co.uk/index.php

Thanks again Burt

Posted

What you did is correct, but would be slightly better like this:

 

 

<div class="grid_24">
  <?php echo tep_image(DIR_WS_IMAGES . 'testtopbanner.jpg', 'test banner'); ?>
</div>

 

Just make sure that you testtopbanner.jpg is 960px wide...

Posted

ps, if this is a new site, you might consider jumping into a responsive build, as these 960 sites have had their day.

Posted

Thanks for that.. that has closed the gap up at the top too :)

if I could just ask one other thing on this issue.. Its now slightly over to the right, over lapping.. what can I do about that please?

I have looked at Responsive designs and they are very attractive but I would be well and truly out of my depth. I just about scratch around with this.. Maybe one day.

Thanks again Burt

Posted

also (apologies if I should have started a separate topic... please let me know) on the subject of customising the look.. Would the graphical infoboxes contribution be workable with 2.3.4?  http://addons.oscommerce.com/info/1378/category,all/search,table+headers

I see its quite old now and looking in the files I see the structure has changed since and boxes are listed with bm_ prefix. 

Thanks Burt.. Promise thats the end for today  :blush:

Archived

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

×
×
  • Create New...