• Resolved hyhy123

    (@hyhy123)


    Hey,

    Is there a way to override bottom and top margins for the whole gallery container?
    I mean, I paste the galleries inside the text and I want just a nice margin between the gallery and a text at the gallery top and at the gallery bottom, and I don’t want to use custom css every time I create a gallery. I want to set this globally.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @hyhy123,

    Are you using a page builder plugin? One way is to use the page builder settings for the content area module you are using to add a suitable top / bottom margin around the gallery.

    As far as global CSS you can try the following:

    .foogallery-container {
    margin-top: 10px;
    margin-bottom: 10px; /* set to whatever margin you want */
    }

    If that doesn’t work please provide a link to your site so we can take a look directly.

    Thanks in advance,

    Phill

    Thread Starter hyhy123

    (@hyhy123)

    The CSS worked fine (I don’t use page builders, so didn’t check that)
    Thanks!

    Hi @hyhy123,

    You’re very welcome.

    Please feel to open a new support request if there’s anything else we can help with.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Customize gallery container margins’ is closed to new replies.