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)
-   -   Front page buttons and text colours (https://forum.x-cart.com/showthread.php?t=33890)

twinster 09-12-2007 11:35 PM

Front page buttons and text colours
 
Hi all
I have read and read but must be missing something. I am trying to change the colours on my front page buttons and texts, in the menu boxes.
I have gone into skin1.css and skin1_admin.css but nothing I try seems to work. This is what I have changed - any advise plse.
Vertical menu
*/
.VertMenuLeftColumn {
WIDTH: 150px;
VERTICAL-ALIGN: top;
PADDING-LEFT: 6px;
PADDING-RIGHT: 20px;
}
.VertMenuRightColumn {
WIDTH: 148px;
VERTICAL-ALIGN: top;
PADDING-LEFT: 20px;
PADDING-RIGHT: 6px;
}
.VertMenuBox {
BACKGROUND-COLOR: #D6DAEE; (was D6D7D9)
PADDING: 1px;
}
.VertMenuBorder {
BACKGROUND-COLOR: #68C1FF; (was 68C1FF etc)
}
.VertMenuTitle {
BACKGROUND-COLOR: #35416C;
COLOR: #FFFFFF;
FONT-WEIGHT: bold;
PADDING: 1px;
}
.VertMenuSubTitle {
BACKGROUND-COLOR: #35416C;
}
.VertMenuTitleIcon {
WIDTH: 21px;
HEIGHT: 20px;
MARGIN-LEFT: 8px;
MARGIN-RIGHT: 8px;
VERTICAL-ALIGN: middle;
}
.VertMenuItems {
COLOR: #35416C;
TEXT-DECORATION: none;
}
A.VertMenuItems:link {
COLOR: #35416C;
TEXT-DECORATION: none;
}
A.VertMenuItems:visited {
COLOR: #35416C;
TEXT-DECORATION: none;
}
A.VertMenuItems:hover {
COLOR: #35416C;
TEXT-DECORATION: underline;
}
A.VertMenuItems:active {
COLOR: #34516C;
TEXT-DECORATION: none;
}

cheers...twinster

balinor 09-13-2007 04:08 AM

Re: Front page buttons and text colours
 
Are you using a standard X-Cart skin or an add-on?

twinster 09-13-2007 04:10 AM

Re: Front page buttons and text colours
 
Artistic tunes skin

balinor 09-13-2007 04:11 AM

Re: Front page buttons and text colours
 
Ahh.....I believe that uses a different css file. Look in customer/home.tpl and see what file it calls.

twinster 09-13-2007 04:18 AM

Re: Front page buttons and text colours
 
There are only these 2 files

public_html/customer/.htaccess
public_html/customer/home.php
#
# $Id: home.php,v 1.47.2.1 2007/03/22 13:54:27 svowl Exp $
#
header("Location: ../home.php".(!empty($QUERY_STRING) ? "?".$QUERY_STRING : ""));
?>

Am I don't seem to have customer/home.tpl

Twister

balinor 09-13-2007 04:23 AM

Re: Front page buttons and text colours
 
skin1/customer/home.tpl. Open it up and look at the top of the file, it will have a line that shows what css file is being called.

twinster 09-13-2007 04:26 AM

Re: Front page buttons and text colours
 
{* $Id: home.tpl,v 1.88.2.10 2007/06/18 12:38:57 max Exp $ *}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{if $printable ne ''}
{include file="customer/home_printable.tpl"}
{else}
{config_load file="$skin_config"}
<html>
<head>
<title>{strip}
{capture name=title}
{if $config.SEO.page_title_format eq "A"}
{section name=position loop=$location}
{if not %position.first%}&nbsp;::&nbsp;{/if}
{$location[position].0|strip_tags|escape}
{/section}
{else}
{section name=position loop=$location step=-1}
{if not %position.first%}&nbsp;::&nbsp;{/if}
{$location[position].0|strip_tags|escape}
{/section}
{/if}
{/capture}
{if $config.SEO.page_title_limit <= 0}
{$smarty.capture.title}
{else}
{$smarty.capture.title|replace:"&nbsp;":" "|truncate:$config.SEO.page_title_limit|replac e:" ":"&nbsp;"}
{/if}
{/strip}</title>
{include file="meta.tpl" }
<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}" />
</head>
{if #ShowHorCategories# eq "Y" && $main ne "fast_lane_checkout"}
{if $body_onload eq ""}
{assign var="body_onload" value=" hcCheckCategories(); window.onresize = hcCheckCategories;"}
{else}
{assign var="body_onload" value="`$body_onload` hcCheckCategories(); window.onresize = hcCheckCategories;"}
{/if}
{/if}

balinor 09-13-2007 04:36 AM

Re: Front page buttons and text colours
 
Sorry, my bad, you want to look in skin1/skin1.conf...you'll see the name of the file that is being used.

twinster 09-13-2007 04:41 AM

Re: Front page buttons and text colours
 
#
# $Id: skin1.conf,v 1.16 2002/09/09 12:50:26 zorg Exp $
#
########################################
#
# This is configuration file for X-Cart
# templates engine. All variables from
# this file are available in templates.
# Refer to them as {#VariableName#} in
# template syntax.
#
########################################
#
# CSS file for the skin (relative to SkinDir)
#
CSSFile = "skin1_c.css"
#

balinor 09-13-2007 04:47 AM

Re: Front page buttons and text colours
 
So there you go...you need to be editing skin1_c.css, not skin1.css


All times are GMT -8. The time now is 11:52 PM.

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