Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #726054

    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

    #727373

    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

    #727462

    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

    #728153

    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

    #740637

    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

    #742683

    Hi!

    We can set a 10px padding on both sides of the portfolio items but you have to move other elements such as the “Recent Work” title.

    .grid-sort-container > .grid-entry {
        padding-bottom: 10px !important;
        padding: 0 10px 0 10px !important;
    }

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.