Tagged: CSS, margin-top
Hi Support Team
I only would like to have a CSS margin-top from 95px, but only for desktop reselution so i add the following:
@media only screen and (max-width: 479px) {
.fullsize .content .entry-content-wrapper {
padding-right: 0;
margin-top: 0px!important;
}}
.fullsize .content .entry-content-wrapper {
padding-right: 0;
margin-top: 95px !important;
but i did something wrong, bcaucse its allway 95px maging on top ;-(
All the best
Hey Pascal,
Please provide a link to the site and screenshot of the section in question so we can look into this further.
Best regards,
Jordan Shannon
Hi Jordan
Here are the desktop version: https://www.dropbox.com/s/mb59ifs3kv7tse9/Screenshot%202017-06-02%2016.16.22.png?dl=0
and the mobile version: https://www.dropbox.com/s/cfq9anztdsun1g3/Screenshot%202017-06-02%2016.16.48.png?dl=0
All the best, Pascal
Hi,
Please add the url to the site so I can pull it up.
Best regards,
Jordan Shannon
here we are: https://reneechabot.com/
Hi,
Add the following to quick css:
@media only screen and (max-width: 767px) {
.fullsize .content .entry-content-wrapper {
padding-right: 0;
margin-top: 0px !important;
}}
Be sure to remove what you have above.
Best regards,
Jordan Shannon
Hi Jordan
Thanky you for your answer, but it does not work on mobile. I give you acces to the admin, so you can see it.
All the best, Pascal
Hi,
Please test now. Your css was structured incorrectly. I removed !important; from the initial declaration.
Best regards,
Jordan Shannon
Hi Jordan
Thank you!
All the best, Pascal