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)
-   -   news column fixed height v4.2 (https://forum.x-cart.com/showthread.php?t=45157)

HotrodOffroad 01-28-2009 08:14 AM

news column fixed height v4.2
 
OK, anyone know if it's possible to add a fixed height to the news column on the right in 4.2?
I can't seem to find the height attributes anywhere, or anything in the forums about it.

Yurij 01-29-2009 01:19 AM

Re: news column fixed height v4.2
 
Quote:

Originally Posted by HotrodOffroad
OK, anyone know if it's possible to add a fixed height to the news column on the right in 4.2?
I can't seem to find the height attributes anywhere, or anything in the forums about it.


And what happens if the news does not fit the specified height?

HotrodOffroad 01-29-2009 10:57 AM

Re: news column fixed height v4.2
 
I'm ok with it being cut off as long as it can be seen in the previous news section.. Which I plan on renaming to more news or something like that.

HotrodOffroad 02-04-2009 04:34 AM

Re: news column fixed height v4.2
 
Still no ideas?

JWait 02-04-2009 05:22 AM

Re: news column fixed height v4.2
 
I haven't used the standard news feature in so long I'm not sure if this will work of not. Instead of trying to make the "news" a fixed height, try changing this in today_news.tpl

{$news_message.body}
to
{$news_message.body|truncate:100:"...":true}
then change "100" to whatever figure works for what you want to achieve in height.

What I usually do is just put a link in to "Latest News" and move the "subscribe" to that page.

Victor D 02-05-2009 01:25 AM

Re: news column fixed height v4.2
 
It's unclear a bit.
Do you want to make teaser for every news with a link "read more"?


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

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