-
AuthorPosts
-
tom_laan84 Friend
tom_laan84
- Join date:
- June 2008
- Posts:
- 348
- Downloads:
- 142
- Uploads:
- 30
- Thanks:
- 88
- Thanked:
- 67 times in 11 posts
May 28, 2016 at 11:25 am #935487Hi, i would like to have equal height blocks like the service blog view has. But then in the departments view. I already added "equal-height equal-height-child" to the departments.php file similar to the service.php file but that did not do it. Probably it needs a little more stuff but i don’t know for sure where to look.
Help is greatly appreciated!
Kind regardsTom
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
May 30, 2016 at 3:34 am #935840Hi
in this view the height is changed with respect to the content height . There is more text it shows the more height .
You can use a min-height value for the items so all gets same height .
Try this code in custom.css file to apply min-height.blog-department .items-row .item { min-height: 311px; }
Let me know if it helps .
tom_laan84 Friendtom_laan84
- Join date:
- June 2008
- Posts:
- 348
- Downloads:
- 142
- Uploads:
- 30
- Thanks:
- 88
- Thanked:
- 67 times in 11 posts
May 30, 2016 at 9:38 am #935982Thanks for your reply but this is not what i want or need. Of course i could do that. But that is like putting a bandaid on a broken arm.
The template comes with the possibility to have dynamic equal height of the boxes like on the services view.
I want to know what i need to do to use this in the departments view.
Hard coding a height is not an option.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
May 31, 2016 at 3:07 am #936243Hi
the reason behind the class not working because height is handled by the js file and the code is implemented in this way it work with the columns classes that is in the services layout file not for article category module (that use an override on default Joomla articles category module) .
I tried to make changes but its does not accept it due to the implementation of code is completely different .
That why i suggest to set a min-height to solve this issue .
This require pretty custom work in the articles category module file and in js to implement it .
If you are developer and knows how to code you can see how its implemented in the /html/com_content/category/service.php
and then make customization in /html/mod_articlescategory/articles-grid.php file
the js code is defined for equal height column in the /js/script.js -
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum