• Resolved kraeMit

    (@kraemit)


    Hi,
    I’m in testing Modula plugin as an alternative for NextGEN and I’m in ‘starter now’ (to be able to migrate NetGEN galleries – that works fine). I’m also comparing features and collecting PRO’s and CON’s.

    As you know not every feature has to be a setting, some little changes can be done using CSS also.

    So I’m just wondering how I can center a grid gallery in a page using CSS? I’m used to center my galleries for better looking / fitting on a page and scale them a little down.

    Thanks!

    All the best!
    kraeMit

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi @kraemit,

    Thank you fro reaching out!
    As much as I would love to help at the moment you cannot center the Custom Grid – if there is room left in it.
    If there is space left in the gallery, it will display on the front-end as well, this is how the custom grid was designed, I’m sorry.

    We do have this on our roadmap though and hope to find a solution for it.
    Thank you so much for understanding!

    Warmly,
    Mihaela

    • This reply was modified 3 years, 8 months ago by Miha.
    Thread Starter kraeMit

    (@kraemit)

    Thanks for your answer.

    Are you sure? Using CSS I can’t center the grid container?

    All the best!
    kraeMit

    Could you please send me the site’s URL to take a look and double check?
    Thank you!

    Warmly,
    Mihaela

    Thank you! That really helped! If the galleries not are 100% wide then, yes, it will be possible to center them.
    Please add this code in Appearance > Customize > Additional CSS:

     .modula {
    	margin: 0 auto !important;
    }

    Warmly,
    Mihaela

    • This reply was modified 3 years, 8 months ago by Miha.
    • This reply was modified 3 years, 8 months ago by Miha. Reason: code
    Thread Starter kraeMit

    (@kraemit)

    Great, thank you very much for this CSS bit!

    • This reply was modified 3 years, 8 months ago by kraeMit.
    Thread Starter kraeMit

    (@kraemit)

    P.S.: You don’t have by accident a page with CSS bits for Modula?

    Thread Starter kraeMit

    (@kraemit)

    ?hm, if you check my page example you will see the grid gallery centered on the page, but horizontal padding is broken.

    Can you please advice?

    Thanks & all the best!
    kraeMit

    • This reply was modified 3 years, 8 months ago by kraeMit.

    Hi @kraemit,

    I am not sure I understand. Is it possible to send me a screenshot with the issue so I can better understand? Thank you!

    Warmly,
    Mihaela

    Thread Starter kraeMit

    (@kraemit)

    @mplusb : sure, here is a picture:

    https://pasteboard.co/JVV2ZWQB.png

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Center Grid Gallery?’ is closed to new replies.