This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Text alignment

#39580
Ernest MarcinkoErnest Marcinko
Keymaster

Hi,

It happens, because the text itself is inline within an anchor and the containing h3 element is also displayed as inline (that is the default for browsers). To center them, the container has to be converted to a block and given a 100% width. This custom CSS will do the trick:

.asp_r h3 {
    display: block;
    width: 100%
}
.asp_r h3, .asp_r h3 a {
    text-align: center !important;
}