custom css only works on one side (margins)

[ad_1]

I’m trying to make the cover block larger than the container I’ve set in my theme (950px)
I’ve tried various inputs to change the sizing but it only works on one side at a time. So if I write:

.element { margin-left: -100px;} it moves where I want it to. Same if I write:
.element {margin-right: -100px;} but not when I write:
.element {margin-right: -100px; margin-left: -100px;}

If I write both commands the margin only changes on one side, and responds to whichever is written first. How do I get the block to move on both sides?

[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