X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How do i resize the Logo on Checkout page - using vivid_dreams_lotus theme (https://forum.x-cart.com/showthread.php?t=51557)

imageizeverything 12-30-2009 11:51 AM

How do i resize the Logo on Checkout page - using vivid_dreams_lotus theme
 
I have 2 questions:

Question 1:

I'm using the Theme vivid_dreams_lotus and need to resize the size of the logo: logo_check.gif on the Checkout pages.

I want the logo to be a smaller size on the Checkout pages, than it is on the home page.

On the home page and other pages the logo is: logo.gif
But on the checkout pages it's: logo_check.gif

I searched in the altskin.css file and couldn't find logo_check.gif

----------------------------------------

Question 2:

How do i center the site using theme vivid_dreams_lotus ?

* Thanks in advance for any assistance.

gizmo 12-30-2009 12:47 PM

Re: How do i resize the Logo on Checkout page - using vivid_dreams_lotus theme
 
The logo css is in altskin.css

#header .logo a img {
height:61px;
width:275px;

As to make it centred, I had to do quite a few edits with Light and Lucid 3 column, and without installing it, I can't help. (But I am sure some one can aid you here)

imageizeverything 12-30-2009 12:56 PM

Re: How do i resize the Logo on Checkout page - using vivid_dreams_lotus theme
 
Quote:

Originally Posted by gizmo
The logo css is in altskin.css

#header .logo a img {
height:61px;
width:275px;

As to make it centred, I had to do quite a few edits with Light and Lucid 3 column, and without installing it, I can't help. (But I am sure some one can aid you here)


If you read my question, you'll notice i emphasized that the Home logo and the Checkout logo is different. That code you stated will change BOTH the logo on the Home page and Checkout page.. I want something that will ONLY change the logo on the checkout page.

gizmo 12-30-2009 01:03 PM

Re: How do i resize the Logo on Checkout page - using vivid_dreams_lotus theme
 
Sorry misunderstood...........
I'll leave it to someone who can give you constructive help.

Or use firefox debug, and also just view source code to find where image is, re size it and re upload, and also I expect the cart template holds the css for that image..

cflsystems 12-30-2009 01:40 PM

Re: How do i resize the Logo on Checkout page - using vivid_dreams_lotus theme
 
You can do this
{if $main eq "fast_lane_checkout"}
image for checkout here
{else}
image for all other pages here
{/if}

imageizeverything 12-30-2009 04:38 PM

Re: How do i resize the Logo on Checkout page - using vivid_dreams_lotus theme
 
Quote:

Originally Posted by cflsystems
You can do this
{if $main eq "fast_lane_checkout"}
image for checkout here
{else}
image for all other pages here
{/if}


where Exactly would i post that code?

cflsystems 12-30-2009 07:46 PM

Re: How do i resize the Logo on Checkout page - using vivid_dreams_lotus theme
 
In skin1/customer/head.tpl where the image is called

imageizeverything 12-30-2009 09:21 PM

Re: How do i resize the Logo on Checkout page - using vivid_dreams_lotus theme
 
Quote:

Originally Posted by cflsystems
In skin1/customer/head.tpl where the image is called


Thanks for helping me. I really appreciate it.
This is what my head.tpl looks like:

{*
$Id: head.tpl,v 1.188.2.3 2009/11/10 15:00:57 joy Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
{if $main ne "fast_lane_checkout"}
<div class="head-bg">
<div class="head-bg2">
<div class="cart-container">
{include file="customer/language_selector.tpl"}
<div class="logo">
<a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/vivid_dreams/logo.gif" alt="" /></a>
</div>
{include file="customer/phones.tpl"}
<div class="cart-block">
</div>
</div>
<div class="line2">
{include file="customer/search.tpl"}
{include file="customer/tabs.tpl"}
</div>
</div>
</div>
{else}
{include file="modules/Fast_Lane_Checkout/head.tpl"}
{/if}
{include file="customer/noscript.tpl"}


How should it look? Thanks in advance.

cflsystems 12-31-2009 05:12 AM

Re: How do i resize the Logo on Checkout page - using vivid_dreams_lotus theme
 
This file already says use something if not fast lane checkout and use modules/Fast_Lane_Checkout/head.tpl if in checkout. So you will need to edit modules/Fast_Lane_Checkout/head.tpl to show different image in FLC

imageizeverything 12-31-2009 09:24 AM

Re: How do i resize the Logo on Checkout page - using vivid_dreams_lotus theme
 
Quote:

Originally Posted by cflsystems
This file already says use something if not fast lane checkout and use modules/Fast_Lane_Checkout/head.tpl if in checkout. So you will need to edit modules/Fast_Lane_Checkout/head.tpl to show different image in FLC


Yeah, I looked in that file modules/Fast_Lane_Checkout/head.tpl already, and tried editing it, before posting this thread, it didn't change.

This is what it looks like:

{*
$Id: head.tpl,v 1.182.2.3 2009/11/10 15:00:58 joy Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
<div class="head-bg-flc">
<div class="head-bg2-flc">
<div class="phones">
{if $config.Company.company_phone}
<span>{$lng.lbl_phone_1_title}: {$config.Company.company_phone}</span>
{/if}
{if $config.Company.company_phone_2}
<span>{$lng.lbl_phone_2_title}: {$config.Company.company_phone_2}</span>
{/if}
</div>
<div class="clearing"></div>
<div class="logo"><a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/vivid_dreams/logo_check.gif" alt="" /></a></div>
{if $speed_bar}
<div class="flc-tabs-top">
<ul>
{foreach from=$speed_bar item=sb name="tabs"}
<li{if $smarty.foreach.tabs.first} class="last"{/if}><a href="{$sb.link|amp}">{$sb.title}</a></li>
{/foreach}
</ul>
</div>
{/if}
{if $active_modules.SnS_connector and $sns_collector_path_url ne '' && $config.SnS_connector.sns_display_button eq 'Y'}
<div class="flc-sns-button">
<div class="valign-middle">
<img src="{$ImagesDir}/rarrow.gif" alt="" /><strong>{include file="modules/SnS_connector/button.tpl" text_link="Y"}</strong>
</div>
</div>
{/if}
{if $login ne ""}
<div class="flc-top-login">
<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|amp}" />
<input type="hidden" name="usertype" value="{$auth_usertype|escape}" />
<span class="flc-top-login-text">
<strong>{if $userinfo.firstname || $userinfo.lastname}{$userinfo.firstname} {$userinfo.lastname}{else}{$login}{/if}</strong>
</span>
{include file="customer/buttons/logout_menu.tpl" additional_button_class="menu-button3" style="link"}
</form>
</div>
{/if}
</div>
</div>


===============

I then changed the name of the logo at checkout, and also put in some width and height settings, and it didn't change the size of the logo in checkout. It's still going by the size set for the logo.gif in the altskin.css file.

{*
$Id: head.tpl,v 1.182.2.3 2009/11/10 15:00:58 joy Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
<div class="head-bg-flc">
<div class="head-bg2-flc">
<div class="phones">
{if $config.Company.company_phone}
<span>{$lng.lbl_phone_1_title}: {$config.Company.company_phone}</span>
{/if}
{if $config.Company.company_phone_2}
<span>{$lng.lbl_phone_2_title}: {$config.Company.company_phone_2}</span>
{/if}
</div>
<div class="clearing"></div>
<div class="logo"><a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/vivid_dreams/newlogocheck.gif" width="137" height="87" alt="" /></a></div>
{if $speed_bar}
<div class="flc-tabs-top">
<ul>
{foreach from=$speed_bar item=sb name="tabs"}
<li{if $smarty.foreach.tabs.first} class="last"{/if}><a href="{$sb.link|amp}">{$sb.title}</a></li>
{/foreach}
</ul>
</div>
{/if}
{if $active_modules.SnS_connector and $sns_collector_path_url ne '' && $config.SnS_connector.sns_display_button eq 'Y'}
<div class="flc-sns-button">
<div class="valign-middle">
<img src="{$ImagesDir}/rarrow.gif" alt="" /><strong>{include file="modules/SnS_connector/button.tpl" text_link="Y"}</strong>
</div>
</div>
{/if}
{if $login ne ""}
<div class="flc-top-login">
<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|amp}" />
<input type="hidden" name="usertype" value="{$auth_usertype|escape}" />
<span class="flc-top-login-text">
<strong>{if $userinfo.firstname || $userinfo.lastname}{$userinfo.firstname} {$userinfo.lastname}{else}{$login}{/if}</strong>
</span>
{include file="customer/buttons/logout_menu.tpl" additional_button_class="menu-button3" style="link"}
</form>
</div>
{/if}
</div>
</div>


All times are GMT -8. The time now is 07:32 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.