Space between blocks in the 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
Thu Feb 27, 2014 9:42 am
Reply with quote
Report this post
Image

Hy guys, I have an issue with the blocks in the grid... there is a space between blocks.
the module position is mainbody_top and these are the settings:

Desktop size: 3x2
Tablet size: 2×1
Mobile size: 2×1

I tried to change Desktop size settings but I can't understand how to make that spaces disappear.
I think the presence of modules in sidebar position got to do something with this issue.

This issue is only relative to the desktop view. In tablet and mobile views there are no spaces.

Could you please help me?

Here is my website: http://www.coldplayzone.it

Thanks
User avatar
Expert Boarder

teitbite
Fri Feb 28, 2014 8:57 pm
Reply with quote
Report this post
Hi

Please try add this code to css:

Code: Select all
#gk-grid-839 .gkGridElement {
    height: auto !important;
}
User avatar
Moderator

GK User
Sat Mar 01, 2014 6:15 pm
Reply with quote
Report this post
Hi teitbite, thanks for your reply.
I tried your code in Firebug but it doesn't work
User avatar
Expert Boarder

teitbite
Sun Mar 02, 2014 7:27 pm
Reply with quote
Report this post
Hi

Yes. I saw it doesn;t work in firebug :) but module should recognise height if this code will be in css. Means You need to add it to override.css and javascript will count the properly. At least I think that.
User avatar
Moderator

GK User
Sun Mar 02, 2014 9:36 pm
Reply with quote
Report this post
I added the code in ovverride.css but it doesn't work
In tablet view there aren't spaces between blocks... this problem is only relative to desktop view.
I really don't understand...
User avatar
Expert Boarder

teitbite
Sun Mar 02, 2014 9:44 pm
Reply with quote
Report this post
Hi

You are not alone. I see nothing which can be causing it. Let me look again.

I do not see the code I gave You in css. Please send me an access to ftp. I'll figure it out.
User avatar
Moderator

GK User
Sun Mar 02, 2014 10:06 pm
Reply with quote
Report this post
i sent you 2 private messages with admin account data and ftp data, thanks
User avatar
Expert Boarder

teitbite
Mon Mar 03, 2014 2:27 pm
Reply with quote
Report this post
Hi

I've just finished talking with 2 programmers and looks like this module is working like that. I'll try explain. Each element is based on squares, so if there is no content to fill the content a blank space is left.

Basicaly to make it work without spaces, You need to use 4 boxes in GK Grid per row and put image and text with separate modules. But I understand this means a lot of work, so please try add this to just make it look as You want:

Code: Select all
@media only screen and (min-width:1041px) {
#gk-grid-839 {
height: 326px;
}

#gk-grid-680 {
height: 163px;
}
}
User avatar
Moderator

GK User
Mon Mar 03, 2014 4:46 pm
Reply with quote
Report this post
I tried that code in local and this is the result...

Image

I tried to change the height values but I can't solve it.

:(
User avatar
Expert Boarder

teitbite
Mon Mar 03, 2014 9:24 pm
Reply with quote
Report this post
Hi

My bad. I waanted to make the code a little smaller and removed the important part from selector. Use this one:

Code: Select all
@media only screen and (min-width:1041px) {
#gk-grid-839 .gkGridGK5Wrap.active {
    background-image: none !important;
    height: 382px;
}

#gk-grid-680 .gkGridGK5Wrap.active {
    background-image: none !important;
    height: 191px;
}
}
User avatar
Moderator

GK User
Mon Mar 03, 2014 10:14 pm
Reply with quote
Report this post
Yes man! Now It works.
Thank you so much!

Could you please have a look to these topics too?
https://www.gavick.com/forums/music-sta ... 40#p164540
https://www.gavick.com/forums/music-sta ... 33728.html
User avatar
Expert Boarder

teitbite
Tue Mar 04, 2014 4:03 pm
Reply with quote
Report this post
Hi

Of course. Following the links right now.
User avatar
Moderator


cron