Positioning two columns to middle of DIV

Hi there, This might be a pretty basic CSS question, but I’m having a hard time:smiley:

So basically I have a page being set up here, near the bottom, I have set up a 2 div column, and have set a max-width of 350px to each. Because of this, they have shifted from the center to the left of the container. I tried numerous ways to position them to the middle, but I can’t so far. Could you help?

https://mosontelecom.ethermedia.hu/lakossagi-szolgaltatasok/

Hi @Pbalazs89,

Please add this code in the Element CSS of the Row setting that contains the columns:

@media (min-width: 767px) {
    $el {
        display: flex;
        justify-content: center;
    }
}

Hope this helps.

Thanks, that worked great!

You’re most welcome, @Pbalazs89.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.