Guest Onlinewebpublisher Posted December 1, 2006 Share Posted December 1, 2006 Hi Cubecart Gurus, I have a big problem, which for some of you is just easy peasy. I wanted to put a 120x240 image in the right panel of my store www.xsiteprotemplates4u.com, just below the mailing list box. The image will have a url link for my affiliate account. Can somebody help me please? I'm kind very naive when it comes to codes. Somebody told me that I should read CSS. Thank you. Marvin Quote Link to comment Share on other sites More sharing options...
roban Posted December 1, 2006 Share Posted December 1, 2006 Add the following code to your index.tpl where you want the box to appear: <div class="boxTitleRight">Your box title here</div> <div class="boxContentLeft"> <a href="http://your link here"><img src="http://your image source here"></a> <border="0" > </div> <div class="boxFootRight"> </div> Quote Link to comment Share on other sites More sharing options...
Guest Onlinewebpublisher Posted December 3, 2006 Share Posted December 3, 2006 HI Roban, Thanks for the reply. Pardon the ignorance, where do I find the indel.tpl file? Also, do I add the code to the top or the bottom of the file? Add the following code to your index.tpl where you want the box to appear: <div class="boxTitleRight">Your box title here</div> <div class="boxContentLeft"> <a href="http://your link here"><img src="http://your image source here"></a> <border="0" > </div> <div class="boxFootRight"> </div> Quote Link to comment Share on other sites More sharing options...
Guest Onlinewebpublisher Posted December 3, 2006 Share Posted December 3, 2006 I think I found the file. Unfortunately this is not I wanted to do, I don't need a box and a title, I just wanted to put the image to the bottom right panel with a URL link. Any ideas how to do it? Thanks for the trouble. HI Roban, Thanks for the reply. Pardon the ignorance, where do I find the indel.tpl file? Also, do I add the code to the top or the bottom of the file? Add the following code to your index.tpl where you want the box to appear: <div class="boxTitleRight">Your box title here</div> <div class="boxContentLeft"> <a href="http://your link here"><img src="http://your image source here"></a> <border="0" > </div> <div class="boxFootRight"> </div> Quote Link to comment Share on other sites More sharing options...
Guest Posted December 3, 2006 Share Posted December 3, 2006 Just use the link/img tags where you want them. <a href="http://your link here"><img src="http://your image source here"></a> <border="0" > Quote Link to comment Share on other sites More sharing options...
Guest Onlinewebpublisher Posted December 3, 2006 Share Posted December 3, 2006 Hi Mysty, Thank you for the information. I think Rubin's idea of putting the image inside the box with a title is great, the only problem is the layout. What do you think is wrong with the code? My site is at www.xsiteprotemplates4u.com , the box and image is just under the mailing list box on the low right. Thanks for any support. Marvin Just use the link/img tags where you want them. <a href="http://your link here"><img src="http://your image source here"></a> <border="0" > Quote Link to comment Share on other sites More sharing options...
Guest Onlinewebpublisher Posted December 4, 2006 Share Posted December 4, 2006 Hi Steevie, I tried changing the code to the one you suggested, it did not do anything. Any ideas? Thanks for your help. You currently have <div class="boxTitleRight">Buy XsitePro Here!</div> <div class="boxContentLeft"> <a href="http://www.xsitepro.com/cmd.php?af=525923"><img src="http://www.xsiteprotemplates4u.com/images/uploads/banner-xsitepro120x240.jpg"></a> <border="0" > </div> <div class="boxFootRight"> </div> I think the one i have highlighted in red is the problem, it should be <div class="boxTitleRight">Buy XsitePro Here!</div> <div class="boxContentLeft"> <a href="http://www.xsitepro.com/cmd.php?af=525923"><img src="http://www.xsiteprotemplates4u.com/images/uploads/banner-xsitepro120x240.jpg"></a> <border="0" > <div class="boxFootRight"> </div> </div> Quote Link to comment Share on other sites More sharing options...
Guest Onlinewebpublisher Posted December 6, 2006 Share Posted December 6, 2006 Thanks for all your help guys. I think I got it now, the problem before was I pasted the code in the wrong place in index.tpl. Again thanks. Add the following code to your index.tpl where you want the box to appear: <div class="boxTitleRight">Your box title here</div> <div class="boxContentLeft"> <a href="http://your link here"><img src="http://your image source here"></a> <border="0" > </div> <div class="boxFootRight"> </div> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.