How to override margins and paddings on a WordPress page

[ad_1]

I’m using an astra theme and an elementor builder to build a website I realize it has extra margins on the side I applied the css below but it’s still not working. So please how do y’all solve this problem?

html, body {
width: 100% !important;
height: 100% !important; /* Add a unit like ‘px’ or ‘vh’ (e.g., height: 100vh) */
margin: 0 !important;
padding: 0 !important;
overflow-x: hidden;
}

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer