SP Simple Portfolio - Crop title of items - Forum | JoomShaper
Awaiting an answer Extensions

SP Simple Portfolio - Crop title of items

Asked by BenL 5 years ago Last activity 5 years ago

Dear support,
Could you help me with small customization of sp simple portfolio to trim/crop title of items on view page to have the same number of letters in title?
Regards.

5 replies

Ariba Staff

Hello

Please share your administrator access here so that I can check the issue. Use the Hidden Content box to share the credentials.

Thank you

BenL Asked this

Hello there,
There is no issue, i need only trim/crop number of letter in too long title of item to have better view on view page.
Details in hidden content.
Regards.

Ariba Staff

Hello

Please use this code in Custom css, if you use this code the title will appear in one line and extra words will be hidden.


.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-info h3 {
    display: flex;
}

.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-info h3>a {
    word-break: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
BenL Asked this

Hello there, works perfectly. Thanks for help!

Ariba Staff

You are most welcome.

Log in to reply.