How to trim / crop the Article title in Home page - Forum | JoomShaper
Solved SP Page Builder

How to trim / crop the Article title in Home page

Asked by denis pirra 5 years ago Last activity 5 years ago

Hi support team!
I would need to normalize the lenght of the articles that are shown in the front end.
Right now I did it rewriting them, but I know that the users wich will use the website, they will write down long titles ... so I need to trim via css the lenght.

I'm using Helix Ultimate + SP PB Pro

Please fine more details in hidden content.

thanks in advance
Regards.
denis

Accepted answer

Marked as the solution
Ofi Khan Staff

Hello denis

Sorry, we do not provide customization support. Though I would share a tip for you. Please try this CSS to Template Options -> Custom Code -> Custom CSS and check

.sppb-addon-article .sppb-article-info-wrap h3{
  white-space: nowrap; 
  width: 100%; 
  overflow: hidden;
  text-overflow: ellipsis;   
}

Best regards

3 more replies

denis pirra Asked this

Yes it works fine.
thank you very much for the help

Ofi Khan Staff

You are welcome

Ofi Khan Staff

I have a humble request. It would be very kind of you if you can manage some moment to give us feedback here:

  1. JED
  2. Trustpilot
Log in to reply.