Important - Hands Up!
- Please ask using the account with which you made the purchase or download of our products and in its respective category.
- If you bought our products in another market, ask your questions in that market, not here.
* ADD PRODUCT NAME IN START OF SUBJET
UT Articles Pro Character limit on title
- R
- redkeane New Member
- Topic Author 2 weeks 6 days ago #1
Hello, is there a way to limit the number of characters in an article title with UT Articles Pro?
I can't seem to find that option in settings and article titles are pushing content down the page whereas if I could put a 40 character limit on title it would look much cleaner.
Any help or advice would be much appreciated.
I can't seem to find that option in settings and article titles are pushing content down the page whereas if I could put a 40 character limit on title it would look much cleaner.
Any help or advice would be much appreciated.
Please Log in or Create an account to join the conversation.
- L
- leoalv Moderator
- 2 weeks 6 days ago #2
Hi, there is no limitation to truncating characters from code, but you could use CSS, which will automatically leave titles on a single line and display characters according to the width of the title space.
If you are using one of our templates you can create the custom.css file at templates/ut_NAME/css/custom.css and paste the CSS into that file. If the template is from another provider you should have a similar option.
Regards
Code:
.ut-articles-pro .article-title {display: block;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
If you are using one of our templates you can create the custom.css file at templates/ut_NAME/css/custom.css and paste the CSS into that file. If the template is from another provider you should have a similar option.
Regards
The following user(s) said Thank You: redkeane
Please Log in or Create an account to join the conversation.
We use cookies to ensure that we give you the best experience on our website. Please read our Privacy Policy