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)
-   -   Latest News ~ todays_news.tpl (https://forum.x-cart.com/showthread.php?t=13038)

NJB 03-26-2005 09:30 PM

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}


balinor 03-27-2005 01:44 PM

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 :)

NJB 03-27-2005 03:15 PM

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?

balinor 03-27-2005 03:36 PM

I'm a big fan of the O'Reilly books....the ones with the animals on the covers. Amazon has them.


All times are GMT -8. The time now is 06:57 AM.

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