(masonry grid) set max-width to container & gutterwidth

  • Posted in : Read WP
  • ne-u
    Participant

    hello,
    i try to set grid in 1030px with two type of block x1 = 235px x2 = 500px and guttergrid = 30px

    template link

    i also change in functions.php portfolio_image_1x and portfolio_image_2x

    how can i do?

    thanks

    ne-u
    Participant

    nothing? :(

    ahmetsali
    Keymaster

    Hi, for which page? masonry blog or portfolio page?

    ne-u
    Participant

    portfolio page

    ahmetsali
    Keymaster

    you can use the custom css below to make gutter width 30px and limit the container width to 1030px.

    .page-template-page-portfolio-php .middle > .row {
        max-width: 1060px;
    }
    .portfolio-items .media-box {
        padding: 15px;
    }
    

    But it is not easy to change the item widths, they should be proportional.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register