Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Optimize button – article page

  • 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.

  • 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.

  • You’re welcome

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.