| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Moving Your Logo Over... | ||||
![]() |
|
|||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Hello,
Could someone please tell me how to move my logo at the top, left hand corner of the screen over to the left a little more? There's a blank area to the left of the logo that I'd like to reduce. Thanks
__________________
X-Cart Gold 4.4.0 |
|||||||
|
#2
|
|||||||
|
|||||||
|
crcool, please be sure to read which forum you are posting in, this is clearly a template editing question, so I'm moving it to the Template Editing forum.
Have a look at head.tpl, you'll see the code for the logo. Depending on your skin, you'll probably need to remove the table cell spacing it to the right.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#3
|
|||||||
|
|||||||
|
Thanks balinor, I was thinking "New Installation" because that's what this is.
It's doesn't appear to be in head.tpl. There's nothing before the logo that I'm aware of.
__________________
X-Cart Gold 4.4.0 |
|||||||
|
#4
|
|||||||
|
|||||||
|
It isn't 'New Installation' it is Installation and setup, which covers installing the cart and configuring it. Changing the look and feel questions go in Storefront Design and Template Editing
Post your head.tpl, as you are using an older version of the cart that not all of us remember so well
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#5
|
|||||||
|
|||||||
|
Oops, I forgot to change my signature. We're upgrading from 4.0.14 to 4.1.8. Here's my head.tpl file:
{* $Id: head.tpl,v 1.58 2006/03/17 08:50:44 svowl Exp $ *} <table cellpadding="0" cellspacing="0" width="100%"> <tr bgcolor="#000000" align ="left"> <td class="HeadLogo" bgcolor="#FFFFFF" width="700"><div align="left"><a href="{$http_location}/"><img src="{$ImagesDir}/logo.jpg" width="700" height="81" alt="" /></a></div></td> <td class="HeadRightBox"> {if $usertype eq "C"} {include file="customer/top_menu.tpl"} {/if} </td> </tr> </table> <table cellpadding="0" cellspacing="0" width="100%"> <!-- <tr> <td colspan="2" class="HeadThinLine"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td> </tr> --> {if $main ne "fast_lane_checkout"} <tr> <td class="HeadLine" height="22"> {if $usertype eq "C"} { include file="customer/search.tpl" } {/if} </td> <td class="HeadLine" align="right"> {if ($usertype eq "C" || $usertype eq "B") && $all_languages_cnt gt 1} <form action="home.php" method="get" name="sl_form"> <input type="hidden" name="redirect" value="{$smarty.server.PHP_SELF}?{$smarty.server.Q UERY_STRING|amp}" /> <table cellpadding="0" cellspacing="0"> <tr> <td style="padding-right: 5px;"><b>{$lng.lbl_select_language}:</b></td> <td><select name="sl" onchange="javascript: this.form.submit();"> {section name=ai loop=$all_languages} <option value="{$all_languages[ai].code}"{if $store_language eq $all_languages[ai].code} selected="selected"{/if}>{$all_languages[ai].language}</option> {/section} </select></td> </tr> </table> </form> {else} {/if} </td> </tr> {else} {* Fast Lane Checkout page *} <tr> <td colspan="2" class="HeadLine"> <form action="{$xcart_web_dir}/include/login.php" method="post" name="toploginform"> <input type="hidden" name="mode" value="logout" /> <input type="hidden" name="redirect" value="{$redirect}" /> <table cellpadding="0" cellspacing="0" width="100%"> <tr> <td class="FLCAuthPreBox"> {if $active_modules.SnS_connector and $sns_collector_path_url ne '' && $config.SnS_connector.sns_display_button eq 'Y'} <img src="{$ImagesDir}/rarrow.gif" alt="" valign="middle" /><b>{include file="modules/SnS_connector/button.tpl" text_link="Y"}</b> {else} <img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /> {/if} </td> {if $login ne ""} <td align="right" nowrap="nowrap"><b>{$userinfo.firstname} {$userinfo.lastname}</b> {$lng.txt_logged_in}</td> <td class="FLCAuthBox"> {if $js_enabled} {include file="buttons/button.tpl" button_title=$lng.lbl_logoff href="javascript: document.toploginform.submit();" js_to_href="Y"} {else} {include file="buttons/logout_menu.tpl"} {/if} </td> {/if} </tr> </table> </form> </td> </tr> {/if} <tr> <td colspan="2" class="HeadThinLine"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td> </tr> {******** Remove this line to display how much products there are online **** <tr> {insert name="productsonline" assign="_productsonline"} <td colspan="2" class="NumberOfArticles" align="right"> {if $config.Appearance.show_in_stock eq "Y"} {insert name="itemsonline" assign="_itemsonline"} {$lng.lbl_products_and_items_online|substitute:"X" :$_productsonline:"Y":$_itemsonline} {else} {$lng.lbl_products_online|substitute:"X":$_product sonline} {/if} </td> </tr> **** Remove this line to display how much products there are online ********} {if $main ne "fast_lane_checkout"} <tr> <td colspan="2" valign="middle" height="32"> <table cellspacing="0" cellpadding="0" width="100%"> <tr> <td class="HeadTopPad"><img src="{$ImagesDir}/spacer.gif" alt="" /></td> {if (($main eq 'catalog' && $cat ne '') || $main eq 'product' || ($main eq 'comparison' && $mode eq 'compare_table') || ($main eq 'choosing' && $smarty.get.mode eq 'choose')) && $config.Appearance.enabled_printable_version eq 'Y'} <td class="PrintableRow" align="right">{include file="printable.tpl"}</td> {/if} </tr> </table> </td> </tr> {else} {* Fast Lane Checkout page *} <tr> <td colspan="2" class="FLCTopPad"><img src="{$ImagesDir}/spacer.gif" alt="" /></td> </tr> {/if} </table>
__________________
X-Cart Gold 4.4.0 |
|||||||
|
#6
|
|||||||
|
|||||||
|
That info would have helped in the beginning
Look at this class in skin1.css and remove the left padding: HeadLogo
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#7
|
|||||||
|
|||||||
|
Ohhh, you're awsome, balinor! Thanks!
__________________
X-Cart Gold 4.4.0 |
|||||||
|
#8
|
|||||||
|
|||||||
|
Quote:
I also trying to do this. I am doing what balinor says - remove the left padding from skin1.css this is what i have .HeadLogo { PADDING-LEFT: 27px; TEXT-ALIGN: left; And when i remove it .HeadLogo { TEXT-ALIGN: left; it does not do anything to the logo.
__________________
iry xcart gold - 4.6.1) Stylehippo.com Big Scoots Hosting |
|||||||
|
#9
|
|||||||
|
|||||||
|
Be sure to clear your template cache after you make the change - you can do this via your Summary screen or by running yourdomain.com/cleanup.php. Also refresh your browser multiple times, sometimes it 'sticks'.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#10
|
|||||||||
|
|||||||||
|
Sometimes it's an easy oversight.... don't forget to close it with a }
Code:
__________________
Doug Rock X-cart Gold 4.1.9 _____________________________________ Altered Cart: 1-Page checkout Firetank: Feed Manager Website CM: CDSEO PRO Website CM: Product A-Z Map Website CM: Review Approval Website CM: Site Map Pro Qualiteam: Sales & Stats (free version) |
|||||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||