Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

2 Block Grid issue

  • Mahmoud
  • Mahmoud's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 11 months ago #140046 by Mahmoud
2 Block Grid issue was created by Mahmoud
Hello,
I am trying to create a news page using the 2BlockGrid, but the problem i am facing is, due to a different image size for different K2 item the page dose not look good, so is there a way to force the images to become one size (shrink or stretch) for example all to maximum width 250 x 90
and to have "Pagination" at the end of the maximum items allowed per page.

example:
current page:
radioarabia.co.uk/index.php/news

page that have fixed image size:
www.artsqatar.com


Thanks

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 11 months ago #140047 by Krikor Boghossian
Replied by Krikor Boghossian on topic 2 Block Grid issue
.modItemsGridBlock .moduleItemImage { height: 233px; overflow: hidden; } 
.modItemsGridBlock .moduleItemImage img { min-height: 100%; max-width: none; width: auto; } 

These styles (paste them in your custom.css file) will do the trick Mahmoud.

Since this is a module there is no pagination. Pagination is only available for the component views.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Mahmoud
  • Mahmoud's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 11 months ago #140048 by Mahmoud
Replied by Mahmoud on topic 2 Block Grid issue
Lol, it is like a magic!, now things works fine, so just to confirm the max hight is set to 233 right?

Regarding "Pagination" for example if i want to load 10 stories but I still want to give the visitors to access the archived or let say the story No 11 is there any other way to do so or maybe suggestion from your side?

Thanks

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 11 months ago #140049 by Krikor Boghossian
Replied by Krikor Boghossian on topic 2 Block Grid issue
Yeap the maximum height is indeed 233 pixels. You can increase it you want.
Sure there is. Since this is a K2 Content module you can insert a custom link at the bottom towards a menu item. This setting is located in the module's parameters.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Mahmoud
  • Mahmoud's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 11 months ago #140050 by Mahmoud
Replied by Mahmoud on topic 2 Block Grid issue
Thanks

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 11 months ago #140051 by Krikor Boghossian
Replied by Krikor Boghossian on topic 2 Block Grid issue
You 're welcome Mahmoud.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum