steveinbaz Posted February 9, 2015 Posted February 9, 2015 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 thanksSteve
burt Posted February 9, 2015 Posted February 9, 2015 When asking for help , please get into the habit of putting the version of osCommerce in your post.
steveinbaz Posted February 9, 2015 Author Posted February 9, 2015 Hi Burt,My apologies.. yes that would help I guess v2.3.4Thanks
burt Posted February 9, 2015 Posted February 9, 2015 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 ?
steveinbaz Posted February 9, 2015 Author Posted February 9, 2015 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? :)
burt Posted February 9, 2015 Posted February 9, 2015 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:
steveinbaz Posted February 9, 2015 Author Posted February 9, 2015 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.phpThanks again Burt
burt Posted February 9, 2015 Posted February 9, 2015 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...
burt Posted February 9, 2015 Posted February 9, 2015 ps, if this is a new site, you might consider jumping into a responsive build, as these 960 sites have had their day.
steveinbaz Posted February 10, 2015 Author Posted February 10, 2015 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
steveinbaz Posted February 10, 2015 Author Posted February 10, 2015 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+headersI 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:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.