Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #3092425
Increase gap
Closed

Comments

  • Rboullay started the conversation

    Hello,

    how can i do please in order to increase the size of the gap between two colums posts in category pages please?

  •  2,610
    PenciDesign replied

    Hi,

    Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:

    .penci-grid > li.grid-2-style {
      width: 49%;
      margin-right: 1%;
    }

    Regards,
    PenciDesign.



  • Rboullay replied

    hello,

    sorry but with this code the image right post column is no more align to the right (right of big image)

    ive set this code

    .penci-grid > li.grid-2-style {
      width: 48%;
      margin-right: 4%;
    }
    .penci-grid li.grid-2-style:nth-of-type(3n+3) {
      margin-right: 4%;

    }

    The 4st first post is right but then i receive an graphic error 

    i ve only post on the right column

  • Rboullay replied

    here is the print screen

  •  2,610
    PenciDesign replied

    Hi,

    You've added the wrong code, if you want to show 4% of margin, here is a CSS code:

    .penci-grid > li.grid-2-style {
      width: 46%;
      margin-right: 4%;
    }

    Note: total value of width and margin MUST equal 50%.

    Regards,
    PenciDesign.




  • Rboullay replied

    i understand but i want right column images to still align to the right like it was (liaaligngn with bg image)

    further more the left image on the second line have not the same margin right like others with your code 

    so ive set

    .penci-grid > li.grid-2-style {
    width: 48.05%;
    margin-right: 3.9%;
    }
    .penci-grid li.grid-2-style:nth-of-type(3n+3) {
    margin-right: 0px !important;

    }

    but i still have problem with second line of posts?



  •  2,610
    PenciDesign replied

    Hi,

    Please delete the code:

    .penci-grid li.grid-2-style:nth-of-type(3n+3) {
    margin-right: 0px !important;
    }

    Regards,
    PenciDesign.

  • Rboullay replied

    It is done but doesn t work has i expect 

  •  2,610
    PenciDesign replied

    Hi,

    Please send me the screenshot of the layout you want to show. I'll check and send you a custom CSS.

    Regards,
    PenciDesign.


  • Rboullay replied

    Hello,

    here a screen shot with in red the explanations.

    PAge are category ones

  •  2,610
    PenciDesign replied

    Hi,

    Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:

    .penci-grid > li.grid-2-style {
      width: 49%;
      margin-right: 1%;
    }
    .penci-grid li.grid-2-style:nth-of-type(3n+3) {
      margin-right: 1%;
    }

    Regards,
    PenciDesign.



  • Rboullay replied

    Thanks but it doesn't work has i expect

    center row gap is thinner and not bigger and there is now a right margin in the right column images are not align to the right 

    in the right column i need to keep margin to 0 and increase middle gap

  •  2,610
    PenciDesign replied

    Hi,

    Please modify the CSS like this:

    .penci-grid > li.grid-2-style {
      width: 49.5%;
      margin-right: 1%;
    }
    .penci-grid li.grid-2-style:nth-of-type(3n+3) {
      margin-right: 1%;
    }

    Regards,
    PenciDesign.



  • Rboullay replied

    doesn't work

    i need a bigger row and you gived me a solution like my first code i send you 

    the problem when you done a code like that is that third lines of post are crashed

  • Rboullay replied

    with print sceen

  •  2,610
    PenciDesign replied

    Hi,

    Please delete all the previous CSS code related to this area, then add this CSS code:

    @media only screen and (min-width: 768px){
        .penci-grid > li.grid-2-style {
            padding-right: 30px;
        }
        .container.penci_sidebar .penci-grid li:nth-of-type(2n+2),
        .penci-grid li.grid-2-style:nth-of-type(2n+2) {
            padding-left: 30px;
        }
    }

    Change 30px to the spacing you want to show.

    Regards,
    PenciDesign.



  • Rboullay replied

    it seems that it is impossible?

    Right column steel have this margin that i don't want and now images in right colums have less height than left columns images

  •  2,610
    PenciDesign replied

    Hi,

    Let's replace it with this CSS:

    @media only screen and (min-width: 768px) {
        .penci-grid>li.grid-2-style {
            padding-left: 30px;
        }     .container.penci_sidebar .penci-grid li:nth-child(2n),
        .penci-grid li.grid-2-style:nth-child(2n) {
            padding-left: 0;
            padding-right: 30px;
        }
    }

    Regards,
    PenciDesign.