Tagged: center, Team Member Image
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?
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
Oh, of course. How I did not see it? Thanks again for help!
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon