Site logo

Archived topic

Featured Products Button alignment

3 replies · Started by mieche on April 8, 2021

Viewing posts 1–4 of 4

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/

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 :)

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

Glad it worked :)

This archived topic is closed to new replies.