Website:
When viewing the website on my desktop, the text over the top image - "Buckinghamshire Food Partnership believe that everyone is entitled to a Right to Food" and the button - "Get involved" are aligned to the left with a 10% margin. However, on a smaller screen, the text is properly centered, but the button remains aligned to the far left. How can I ensure that the button is centered as well (only when the text above is centered)?
I have tried using this class to align it to the left:
.content-caption {
max-width: 100%;
left: 0;
position: relative;
text-align: center;
However, adding
position: relative;
left: 50%;
transform: translateX(-50%);
or
margin: auto;
does not seem to solve the issue. Am I focusing on the wrong solution here?