Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How to change text size on home.php

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-28-2005, 08:20 AM
 
Mel Mel is offline
 

Member
  
Join Date: Feb 2005
Posts: 15
 

Default 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
__________________
X-Cart Gold 4.0.11
PHP 4.3.2
MySQL server 3.23.58
MySQL client 3.23.58
Web server Apache/2.0.46 (Red Hat)
Operation system Linux Plesk Reloaded
Reply With Quote
  #2  
Old 02-28-2005, 09:45 AM
 
hooter hooter is offline
 

X-Adept
  
Join Date: Dec 2004
Posts: 519
 

Default

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>
__________________
Blog for X-Cart | Ebay Auction Manager
Reply With Quote
  #3  
Old 02-28-2005, 10:27 AM
 
Mel Mel is offline
 

Member
  
Join Date: Feb 2005
Posts: 15
 

Default

Hi Hooter,

Worked a treat thanks but had to put in to

skin1_customer.css


Many thanks

Mel
__________________
X-Cart Gold 4.0.11
PHP 4.3.2
MySQL server 3.23.58
MySQL client 3.23.58
Web server Apache/2.0.46 (Red Hat)
Operation system Linux Plesk Reloaded
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:56 PM.

   

 
X-Cart forums © 2001-2020