Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1128207

    I tried to make Team Member infos smaller and centered on mobile and used this:

    @media only screen and (max-width: 769px) {
    .team-img-container {
    margin: auto;
    width: 65%;
    }}
    @media only screen and (max-width: 769px) {
    .avia-team-member {
    text-align: center;
    }

    But this changed everything smaller: menu, sections… What is the code to do this just for Team member?

    #1128407

    Hey tammiviestinta,

    You didn’t close the last media query properly, it might be the reason for it affecting other elements. Please try this instead:

    @media only screen and (max-width: 769px) {
    .team-img-container {
      margin: auto;
      width: 65%;
    }
    .avia-team-member {
      text-align: center;
    }
    }

    Best regards,
    Rikard

    #1128459

    Oh, of course. How I did not see it? Thanks again for help!

    #1128530

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Team Member smaller and centered on mobile’ is closed to new replies.