Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file Limit size of displayed news

More
12 years 2 months ago #969 by cmofnc
Limit size of displayed news was created by cmofnc
Hallo and thanks for this usefull extension.
I use in my site www.aipdtrentino.it.

It is possibile limit the size of the frame latest news using scroll-bar or slidig news.
This feature is present in Extended version but I'm using Joomla 1.5.
Can you suggest me a solution?

Thanks

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #972 by admin
Replied by admin on topic Re: Limit size of displayed news
Hello,
yes, you can easily do that by adding:
.latestnewsenhanced_72.newslist {
    max-height: 300px; /* the height you need at most */
    overflow: auto;
}
You have another issue though: your template adds padding to the 4th divs by default. You will need to add padding:0 to .weekday, .month, .day and .year to fix it.

Olivier.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #973 by cmofnc
Replied by cmofnc on topic Re: Limit size of displayed news
:cheer:
Hello,

Thanks for your quick reply.
I applied in my test site franco.joomlafree.it.
The dimension is ok but the scroll-bar doesn't appair.
I don't want to take advantage of your patience, but I'm a novice.
Thanks for your help.

Regards

Franco

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #974 by admin
Replied by admin on topic Re: Limit size of displayed news
Hello Franco,
just add !important after the overflow property like so:
overflow: auto !important;
It makes sure the property has priority.

Olivier.
The following user(s) said Thank You: cmofnc

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #975 by cmofnc
Replied by cmofnc on topic Re: Limit size of displayed news
Hello Olivier,

:P All is OK. Thanks for your excellent module and your effective support.

Regards

Franco

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #976 by admin
Replied by admin on topic Re: Limit size of displayed news
You are very welcome!

Olivier.

Please Log in or Create an account to join the conversation.