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

Latest News ~ todays_news.tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-26-2005, 09:30 PM
 
NJB NJB is offline
 

Member
  
Join Date: Mar 2005
Posts: 28
 

Default Latest News ~ todays_news.tpl

I have added the Latest News section to my homepage but am now having some issues with the font size. I modified todays_news tpl so that the "message subject" is displayed rather than "message body".
Now, when I view the page - the font size of the message subject is small, and in fact the same size as the "previous news" label. Interestingly, when I view the homepage via Webmaster mode the font sizes are fine. It's only when I look at the webpage normally that the fonts are an issue. Can someone please point me in the right direction to fix this?

Thanks.


Code:
{* $Id: today_news.tpl,v 1.10 2004/05/31 06:25:32 max Exp $ *} {if $news_message eq ""} {$lng.txt_no_news_available} {else} {$news_message.send_date|date_format:$config.Appearance.date_format} {$news_message.subject} {if $usertype eq "C"} {$lng.lbl_previous_news} {/if} {/if} {if $usertype ne "C"}<HR size="1" noshade class="VertMenuHr">{/if}
__________________
NJB
Sydney, Australia
x-Cart Version 4.0.12
Reply With Quote
  #2  
Old 03-27-2005, 01:44 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Take a look at the "Smallnote" class in skin1.css. Adjust the font size accordingly.

I noticed you have had a couple of formatting questions. You should pick up a book on HTML and CSS, it will help you qutie a bit with things like this
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 03-27-2005, 03:15 PM
 
NJB NJB is offline
 

Member
  
Join Date: Mar 2005
Posts: 28
 

Default

Thanks for your help. I'm learning a lot from these forums, but think you're right and that a beginners HTML book would be a good idea. Is there any book in particular that you'd recommend for us newbies?
__________________
NJB
Sydney, Australia
x-Cart Version 4.0.12
Reply With Quote
  #4  
Old 03-27-2005, 03:36 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

I'm a big fan of the O'Reilly books....the ones with the animals on the covers. Amazon has them.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 07:14 AM.

   

 
X-Cart forums © 2001-2020