![]() |
Header banner
Hi,
I'm trying to insert a new banner/logo on top of a default 3-coloumn site. But I only get to view a picture that is 244 x 67 pixel (xlogo.gif) and I've made it 960 x 70 pixels. Does anyone know which file to edit to make the whole image show on top of the page? I've already looked at this artcle: http://forum.x-cart.com/showthread.php?t=21529. Thanks! |
Re: Header banner
skin1/head.tpl
change width and height according to your image. <img src="{$ImagesDir}/xlogo.gif" width="244" height="67" alt="" /> as you wish this logo to have width similar with the total page width you need to change the table structure of the first table in this file HTML Code:
to HTML Code:
|
Re: Header banner
Thanks for the quick response! I'll look into it right away.
|
Re: Header banner
Hello Victor,
How do you move Speed Bar to be under search row, underneath header space. I had seen discussion regarding home .tpl, however, I do not see home .tpl at this time. <td class="HeadRightBox"> {if $usertype eq "C"} {include file="customer/top_menu.tpl"} {/if} </td> Also, how to you move the Speed bar buttons right and left (overall size 1 or more buttons) to fit overall layout. Thank you, |
Re: Header banner
Not home.tpl, but head.tpl
For instance replace {if $usertype eq "C"} {include file="customer/top_menu.tpl"} {/if} with and insert one more table at the end head.tpl: {if $usertype eq "C"} <table width="100%"><tr><td>{include file="customer/top_menu.tpl"} </td></tr></table> {/if} what concerns the second part of your question I can't catch the point. If you want to have equal spaces between speedbar links you need to divide page width (or 100% if it isn't fixed) by total numer of links to get the one item width. You may need http://smarty.net/manual/en/language.function.math.php for reference |
Re: Header banner
How do you make top of speed bar flush with bottom of search row.
Thanks, |
Re: Header banner
just place search and speedbar and in subsequent rows of the same table
|
Re: Header banner
Request step by step how to Instructions with code. Thanks!
|
All times are GMT -8. The time now is 10:14 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.