This topic has 14 replies, 4 voices, and was last updated 1 years, 6 months ago ago by Rose Tyler
I’m using this code so I can disable that 25px margin on top of page, but it only seem to workin backend.
https://i.imgur.com/kGe9iZ0.png
https://sports4fun.si/kontakt/
what about just using this:
.page-heading {
margin-bottom: 0px;
}
this did not work, that’s why I tried
.page-heading {
margin-bottom: 0px !important;
}
and then
body .page-heading {
margin-bottom: 0px !important;
}
works well on all my other websites.
Hello, ziga32,
In order to resolve your issue, please copy and paste the following CSS code into XStore >> Theme Options >> Theme Custom CSS >> Global CSS and then clear your browser cache.
.page-id-38 .page-heading {
margin-bottom: 0px !important;
}
The result should look like this: https://imgur.com/RqZJXms
If you have any further questions or concerns, please do not hesitate to contact us. Our support team is always available to help.
Best regards,
8Theme’s Team
weirdly doesn’t work also
Hello, ziga32,
Thank you for your response.
Please provide temporary wp-admin access, so we can take a closer look at your settings.
Best regards,
8Theme’s Team
sute, thank you
Hello, ziga32,
Thank you for your response.
You are using CDN, it seems the code doesn’t work because of cache. Please clear the CDN cache.
Best regards,
8Theme’s Team
I’m not using any cdn…?
Hello, ziga32,
Ok. Please check now – https://prnt.sc/UjBFxKeNXj8A , we added code – https://prnt.sc/jetUN6HNFidI
Best regards,
8Theme’s Team
Works great, thank you!
why is it working here and not on the page css?
Hello, ziga32,
We have conducted a review of your site and have not identified any issues. The code provided is functioning correctly. Please refer to the following link for reference. https://www.veed.io/view/cb870716-ccbd-4a38-8bee-900b91c05476?sharingWidget=true&panel=share
Best regards,
8Theme’s Team
Yes, like I said, it it working also for me. Great job!
My question is, why was it not working before, when the code was in page custom css?
Hello, ziga32,
“My question is, why was it not working before, when the code was in page custom css?” – as we can see, the code works fine from the page custom CSS area – https://prnt.sc/s0iihMoNTJUI
Best regards,
8Theme’s Team
Tagged: eliminate, margin, persuasive, themes, top page, woocommerce, wordpress
The issue related to '‘Can’t eliminate top page margin …………….’' has been successfully resolved, and the topic is now closed for further responses