I copied the code to change the gap between grid cells from this page https://kriesi.at/documentation/enfold/grid-row/. It worked perfectly on desktop, but the cells don’t quite align on the right hand side in mobile/responsive view. Website is here: http://www.jet-cxo.com . Ideas? Thanks!
Hey mhiller,
Which code have you used? You need to wrap in the media query like so:
@media only screen and (min-width: 1024px) {
/* Add your Desktop Styles here */
}
Best regards,
Victoria
Hi Victoria,
I copied the code exactly from the aforementioned Kriesi webpage per below. So I would need to restyle the mobile page within the media query you posted above? Am I correct that I should do the same thing anytime I am using grid rows on other sites?
Thanks!
/*----------------------------------------
// Grid cell gap
//--------------------------------------*/
#top .flex_cell {
border-width: 24px!important;
border-right-width: 0px!important;
border-bottom-width: 0px!important;
border-style: solid!important;
border-color:#FFF!important;
}
#top .flex_cell:last-child {
border-right-width: 24px!important;
}
Hi mhiller,
Try using it like this:
@media only screen and (min-width: 1024px) {
/*----------------------------------------
// Grid cell gap
//--------------------------------------*/
#top .flex_cell {
border-width: 24px!important;
border-right-width: 0px!important;
border-bottom-width: 0px!important;
border-style: solid!important;
border-color:#FFF!important;
}
#top .flex_cell:last-child {
border-right-width: 24px!important;
}
}
Yes, you can use this code on other Enfold websites.
Best regards,
Victoria