Site logo

[Resolved] Featured Products Button alignment

Home Forums Support [Resolved] Featured Products Button alignment

Home Forums Support Featured Products Button alignment

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1726657
    mieche

    Hi,

    I’m having a weird problem that I cannot find a solution for. I updated GeneratePress and WooCommerce and the Shop Now Buttons on the home page are stuck in left alignment. No matter what I try both in the WP editor and through CSS I cannot get them to go back to center alignment (how I had them before the update). Has anyone found a solution for this?

    https://babystepstohollywood.com/

    #1726692
    Ying
    Staff
    Customer Support

    Hi there,

    It’s a wp block button, the theme doesn’t have control over it.

    Seems some WP block CSS might be missing, try to clear cache and disable cache plugin. If it still doesn’t work, you could try add this CSS:

    .wp-block-button.aligncenter {
        text-align: center;
    }

    Let me know 🙂

    #1726734
    mieche

    Yes! Thank you, that worked. For some reason I didn’t think text-align was the right alignment option. Ugh.

    #1726753
    Ying
    Staff
    Customer Support

    Glad it worked 🙂

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