SP Simple Portfolio - Crop Title Of Items - Question | JoomShaper

SP Simple Portfolio - Crop Title Of Items

B

BenL

Extension 2 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.

0
5 Answers
Ariba
Ariba
Accepted Answer
Support Agent 2 years ago #14045

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

0
B
BenL
Accepted Answer
2 years ago #14142

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.

0
Ariba
Ariba
Accepted Answer
Support Agent 2 years ago #14300

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;
}
0
B
BenL
Accepted Answer
2 years ago #14445

Hello there, works perfectly. Thanks for help!

0
Ariba
Ariba
Accepted Answer
Support Agent 2 years ago #14448

You are most welcome.

0