Hey there dramapp,
How are you doing today?
You can achieve that by using media queries. You can find more info in one of the following links:
https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries
Generally you should set the margin for your desktop resolutions something like this:
.yourclass {
margin-top: 100px;
}
And then add the margin for mobile version, something like this:
@media screen and (max-width: 600px) {
.yourclass {
margin-top: 50px;
}
}
By doing this you should have top margin 50px on resolutions 600px and less and 100px for resolutions above 600px.
If this doesn’t work could you please post link to your site and explain which margin you’re trying to change so I can take a look?
Hope this makes sense ??
Best regards,
Bojan