Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #634601

    Hi!

    I have added a masonry gallery to my home page and it seems like it is not centered.

    Can i fix it with CSS or any easier way?

    #634970

    Hi tal1234,

    Please try the following in Quick CSS under Enfold–>General Styling:

    #top .container .av-masonry.av-large-gap {
        width: calc(100% + 0px) !important;
    }

    Regards,
    Rikard

    #635042

    Hi,
    thanks but it still not centered in the “div.container “. for some reason it is a little bit to the left.

    any other option?

    best,
    Liron

    #635311

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    #top .container .av-masonry.av-large-gap {
        right: -15px;
    }
    

    Best regards,
    Yigit

    #635354

    Perfect!

    It worked!

    thanks,
    Liron

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Masonry gallery not centered’ is closed to new replies.