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 to change text size on home.php (https://forum.x-cart.com/showthread.php?t=12472)

Mel 02-28-2005 08:20 AM

How to change text size on home.php
 
Hi,

I am using the Fashion Mosaic skin by XCart

When I drop in text to the area where the welcome picture was,
in the following template:

/customer/main/welcome.tpl

the text takes on the sizes and styles as specified in the CSS.
at least that is what I am guessing

How can I specify text styles and sizes for the main body of the
home page without affecting the layout and sizes of the nav links etc

%i:anks - Mel

hooter 02-28-2005 09:45 AM

Mel,

A number of ways to do this with probably the easiest being:
Open your skin1/skin1.css file and add a line thusly
Code:

.HomePageText { COLOR: #000000; FONT-WEIGHT: normal; FONT-SIZE: 12px; }
There are many other style elements you can use to control your text layout but that is a basic example.

Then wherever you place your text, encapsulate it with span tags:
Code:

<span class=HomePageText>This is my new home page text</span>

Mel 02-28-2005 10:27 AM

Hi Hooter,

Worked a treat thanks but had to put in to

skin1_customer.css


Many thanks

Mel :D


All times are GMT -8. The time now is 04:15 AM.

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