-
Hi,
Once again I appeal to your wisdom to make a small modification to my website.I have a button on my article page. Unfortunately it’s not centered properly, although from the edit page of the article I made this setting for centering.
Therefore, I would like this button to be centered and optimized on both mobile and descktop.
Can you please offer me a CSS to solve this situation? If possible please add some options for border, color (letters and background).
I put in the “Private Information” section a random link to an article from my blog.
Thank you in advance.
-
Alvind
Hi there,
Are you referring to the button with the green color?
I would suggest using the GB Button block, as it offers more control over spacing and positioning compared to the core button block you’re currently using.
If that’s not preferable, then you can add this CSS:
body.single .inside-article .wp-block-buttons.is-content-justification-center { display: flex; }
-
Thanks for the solution.
-
Alvind
You’re welcome
- You must be logged in to reply to this topic.