k2 article view not a nice grid

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Sep 07, 2015 10:27 am
Reply with quote
Report this post
I have a problem with k2 article view on page http://chcemviac.com/audio, which is not as I suppose it should be. (Article previews are not aligned correctly). How can I fix it, so the grid would be responsive and nice looking?
thanks
User avatar
Expert Boarder

GK User
Mon Sep 07, 2015 12:16 pm
Reply with quote
Report this post
The problem with article titles is quite obvious - they are different length and some of them takes 2 lines instead of one. What you should consider is - should there be a white space under first line if title is short? Should there be more space for titles so long, that they take 3 lines?
User avatar
Moderator

GK User
Fri Sep 25, 2015 9:35 am
Reply with quote
Report this post
Of course there should not be the white space. Is there any way I can optimize titles and pretexts, so that I'll get nice grid view? Do I have to do something with the code also? If yes, what exactly? thanks for answer.
User avatar
Expert Boarder

GK User
Sat Sep 26, 2015 12:40 pm
Reply with quote
Report this post
There is no "code" way to do so - the only way is to keep titles and pretexts same length.
User avatar
Moderator

GK User
Mon Sep 28, 2015 9:54 am
Reply with quote
Report this post
I get it, but what about the space under the image? How to remove the blank space? (see the attached picture).
User avatar
Expert Boarder

GK User
Mon Sep 28, 2015 8:51 pm
Reply with quote
Report this post
To remove bottom spacing, please edit: /templates/gk_musicstate/css/override.css and add at its end:
Code: Select all
.itemImageBlock>a {
    height: auto;
}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Tue Sep 29, 2015 10:55 am
Reply with quote
Report this post
sorry to say that, but it did not worked. :(
User avatar
Expert Boarder

GK User
Wed Sep 30, 2015 5:12 pm
Reply with quote
Report this post
From what I see it did. Please check in chrome incognito mode or firefox private mode. If issue is not there - it means that you need to clear the cache in your browser.
User avatar
Moderator

GK User
Thu Oct 01, 2015 12:10 pm
Reply with quote
Report this post
Yes, you are right. It works. thanks.
User avatar
Expert Boarder

GK User
Fri Oct 02, 2015 4:55 pm
Reply with quote
Report this post
If you have any additional questions regarding this topic, please let me know.
User avatar
Moderator


cron