CSS – How to center Jetpack’s Pinterest block

.wp-block-jetpack-pinterest {
    text-align: center;
}

If that doesn’t work for some reason try targeting the span itself:

.wp-block-jetpack-pinterest span:first-child {
    margin: 0 auto;
    display: block;
}

Omg, thank you soooo much! The first line of code worked just fine. Thanks for saving my life lol



Source link