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)
-   -   Please help with edit skin.1 (https://forum.x-cart.com/showthread.php?t=12701)

expressrugs 03-09-2005 10:47 AM

Please help with edit skin.1
 
Hello All
V 4.0.12 How do I edit powered by x-cart at the bottom of the home page and where do I find it? Also how can I edit this I have the orange skin as default how do I change the box Example Featured products on home page here is link to see what I'm talking about
http://www.expressarearugs.com/xcart/home.php
Also 2. how do I remove the send to a friend on the cart page.
Thanks ](*,)

techhead 03-09-2005 02:53 PM

the quickest (and easiest) way to edit templates is to use the webmaster mode in the admin section... or you can edit the templates directly.

you will find the footer in the following file:
skin1/bottom.tpl

comment out or remove the following code:
{include file="main/prnotice.tpl"}
{include file="copyright.tpl"}

or alternatively you directly edit those tempates.
skin1/main/prnotice.tpl
skin1/copyright.tpl

be careful if you got to edit the featured section as it calls the 'dialog.tpl' template that is used every where you see a box on the screen.

to remove the 'send to a friend' you will need to edit the following file:
skin1/customer/main/product.tpl
and comment out/remove the following code:
{include file="customer/main/send_to_friend.tpl" }

expressrugs 03-09-2005 03:13 PM

Hello
Thank you very much for the help. :D The one thing I still can get is how to change the color of the boxs on screen "be careful if you got to edit the featured section as it calls the 'dialog.tpl' template that is used every where you see a box on the screen. " In that i don't see any color options?
Maybe I'm not looking at it right.

techhead 03-09-2005 03:28 PM

if your out to change colour, all you need to do is edit the style sheet:
skin1/skin1.css

the styles to look out for are:
DialogTitle ... (the title bar)
DialogBorder ... (the border arround the box)
DialogBox ... (where the content goes)

I always edit the skin1/dialog.tpl file and remove the following bit of code:
background="{$ImagesDir}/dialog_bg_n.gif"

only because I think the image used in the dialog title is butt ugly, if you do this you will want to change the DialogTitle font colour to something other than white.

good hunting!

expressrugs 03-09-2005 03:32 PM

I did try that something must be wrong. Not sure what. I will keep trying. :-k
Thank you for all your help. :D :D :D

techhead 03-09-2005 03:39 PM

changes in the style sheet can take awhile to become visual if your using a lazy browser like ie.

make the changes to the skin1.css, then clear your browser cache out before trying to see the changes.

balinor 03-09-2005 03:46 PM

Or just use Firefox ;)

expressrugs 03-09-2005 04:52 PM

Hello Guys
Thanks for the help!!! But still is not working. Here is the code it looks like it should work but it dosen't.
.DialogBox {
BACKGROUND-COLOR: #ffffff;
}
.DialogBorder {
BACKGROUND-COLOR: #C5BF9F;
}
.DialogTitle {
COLOR: #FFFFFF; FONT-WEIGHT: bold; FONT-SIZE: 11px;
This should give me a green box with white background. :-k

techhead 03-09-2005 05:10 PM

yeap... that's right... and that's what you've got... that big red thing at the top is a background image located here:

/skin1/images/dialog_bg_n.gif

in order to change that you will need to edit the image through something like firefox and re-upload it to the skin's image directory in the colour you want it or you can remove it from the dialog.tpl ( background="{$ImagesDir}/dialog_bg_n.gif" )

expressrugs 03-09-2005 05:17 PM

What do you use to edit this file. Sorry for the dumb question but I have no idea. :oops:

balinor 03-09-2005 05:22 PM

Actually Photoshop or another image editing program would work a little better than Firefox :)

techhead 03-09-2005 05:25 PM

to edit the image file I'd normally use fireworks (sorry... didn't mean to say firefox before :oops: ) or photoshop.

There is a hundred ways and a hundred image editors to change the colour in an image. The easiest way is to use an image editor that your used before and use the paint bucket tool to replace the colour.

or...

you can remove the image from the dialog template file... edit the skin1.css to give the DialogTitle a background colour of that green your using.

expressrugs 03-09-2005 05:47 PM

Hey techhead
Thanks. I appreciate the info. :D Could not use x-cart if not for guys like you and balinor stepping up to the plate for newbies like me. Many thanks to you guys for you great effort.
Thank you
Jeff Miller Express-rugs.com

Paul H 12-28-2005 01:08 PM

I found that the CSS editor you can download from Firefox is a great idea as you can get instant changes without risk of making a mess with the actual xcart code. For a non coder like myself these sort of tools are a god send and I'll say the same for Balinor too ! :D


All times are GMT -8. The time now is 02:00 AM.

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