Hi all,
Firstly apologies for posting this on the theme's forum, but this is where the CSS Guru's hang out. On CONTRIB-4579 I have been asked to centre the grid icons on the Grid format to fill the space (please see the image). Currently I'm going nuts trying to solve it. I need to either center the grid icons as a whole list of 'li's in a 'ul' in a 'div' or spread out the 'li's within the 'ul'.
I've tried changing:
.course-content ul.gridicons li {
width: 212px;
overflow: hidden;
float: left;
margin: 2px 2px;
padding: 0px;
background-color: white;
color: black;
font-size: 12px;
display: block;
}
to:
.course-content ul.gridicons li {
width: 212px;
overflow: hidden;
margin: 2px 2px;
padding: 0px;
background-color: white;
color: black;
font-size: 12px;
display: inline-table;
}
I'm using the latest M2.5 and Grid Format that I released a few days ago.
Thanks,
Gareth