Centering a row

Dear support,

I try to center a row in the middle of my page (, but it stays on the left of the page. I use the following code:

#pg-1552-1 {
background: rgba(68, 68, 68, 0.8);
display: block;
margin-left: auto;
margin-right: auto;
width: 70%;

Do you have an idea of how to resolve this?

Thanks in advance for taking the time.


Please try to replace the value of margin-left and margin-right with this:

margin-left: auto !important;
margin-right: auto !important;