Alignement du texte du titre dans les cartes de catégorie avec le plugin groupements de catégories

This plugin is great, but there seem to be some nuances. Enabling the plugin gives us this out of the box:

Simple enough, we add this css:

.category-box-heading {
    align-self: center;
}

and it’s all good:

EXCEPT, when the title has two lines. For some reason, nothing I do seems to move it to center:

I can’t seem to see what would prevent two-line category titles from moving center and even using the browser dev tools, I couldn’t figure out how to force it to center.

1 « J'aime »

Try this instead:

.category-details .parent-box-link h3 {
    text-align: center;
}

:slight_smile: