カテゴリグループプラグインを使用したカテゴリカードのタイトルのテキスト配置

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

Try this instead:

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

:slight_smile: