Hi There great Enfold support team!
I’ve made an adjustment to a portfolio grid like here:
https://kriesi.at/support/topic/spacing-between-portfolio-grid-containers/
But I want the padding in de last row to be 0, so that the space most left and most right is even.
What can I do to fix this?
Thanks in advance, regards, Annelies
Hey Annelies,
Thank you for using Enfold.
Please replace the code with this.
.grid-sort-container > .grid-entry {
padding-bottom: 10px;
padding: 0 12px 0 12px;
}
Best regards,
Ismael
Hi Ismael,
Thanks, but I have the issue with the alignment of the rest of the content. See screendump.
Now I used:
.grid-sort-container > .grid-entry {
padding-bottom: 10px !important;
padding: 0 20px 0 0 !important;
}
Is there a way to fix this? My client is a graphic designer who is very sharp at margin etc, so I have to make this perfect ;-)
Best regards, Annelies
Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
.grid-sort-container > .grid-entry:nth-child(3n) {
padding-right: 0!important;
}
Please make sure that > sign is not converted to – http://i.imgur.com/IDXRZQ3.png in Quick CSS field.
Best regards,
Yigit
Hi Yigit,
Do you know why the height is different when I put this one in my style.css
The padding is perfect on the right, but now the heigth of the image is too much.
Plus the with of the last row is different, how can I fix this?
Best Regards, Annelies