Line brek on a Recent post title

Hi,

I’m trying to set up a recent post title in two lines -look the First ‘Evento per studenti 1’ (Attachment 1). but it appears hidden (Attachment 2).

I tried word-break property, but it doesn’t work, also giving a max-width to the recent post h3, but it doesn’t work either. How can make the ‘Evento per studenti’ visibile in multiple lines?

Thanks in advice

Hello Dario,

Thanks for writing in! Regretfully we cannot check your site because it is under construction mode. To better assist you with your issue, kindly provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WordPress Admin username / password

To know how to create a secure note, please check this out: https://theme.co/apex/forum/t/how-to-get-support/288

Regards.

Hi RueNel, thanks for the reply

Hi Dario,

The post title of the recent post items are by default get hidden if they overflow to the next line.

To override that, please add this code in X > Theme Options > CSS:

.x-recent-posts .h-recent-posts, 
.x-recent-posts .x-recent-posts-date {
    overflow: visible;
    text-overflow: unset;
    white-space: inherit;
}

Hope this helps.

It helped indeed, it worked greatly. Thanks, and keep the theme awesome as it is.

Have a good day

Hey Dario,

You’re welcome!
We’re glad @Jade were able to help you out.

Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.