Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

Limit size of displayed news

  • cmofnc
  • cmofnc's Avatar Topic Author
  • New Member
  • New Member
More
IP: 87.0.10.42 14 years 1 month ago #969 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
More
IP: 207.229.131.129 14 years 1 month ago #972 by admin
Hello,
yes, you can easily do that by adding:
Code:
.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.
  • cmofnc
  • cmofnc's Avatar Topic Author
  • New Member
  • New Member
More
IP: 87.0.10.42 14 years 1 month ago #973 by cmofnc
: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
More
IP: 207.229.131.129 14 years 1 month ago #974 by admin
Hello Franco,
just add !important after the overflow property like so:
Code:
overflow: auto !important;
It makes sure the property has priority.

Olivier.
The following user(s) said Thank You: cmofnc
  • cmofnc
  • cmofnc's Avatar Topic Author
  • New Member
  • New Member
More
IP: 87.0.10.42 14 years 1 month ago #975 by cmofnc
Hello Olivier,

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

Regards

Franco
More
IP: 207.229.131.129 14 years 1 month ago #976 by admin
You are very welcome!

Olivier.