Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Mobile Centering

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #206331
    sportfeed
    Participant

    Hi guys,

    I try to center the images on mobile under the part “Onze Diensten” en the image gallery under the part “Bekijk ons werk”

    On the page: http://adamstucadoors.nl/

    I already give it a custom css to both but it wont work i tried this:

    @media (max-width: 920px) {
    .onswerk {
    text-align:center;
    }
    }

    AND

    @media (max-width: 920px) {
    .onswerk {
    margin-left: auto;
    margin-right: auto;
    width: 6em;
    }
    }

    But both dont seems to work, can somebody please help me with this. Thanx already!

    #206343
    sportfeed
    Participant

    Nope doesnt work :(

    #206346
    sportfeed
    Participant

    I now got it with:

    @media (max-width: 990px) {
    .gallerij {
    margin-left: auto;
    margin-right: auto;
    width: 13em
    }
    }

    Only when i turn my screen the image gallery will nog get horizontal but stay vertical?

    Anyone an idea?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.