Free Directory, Listing & Classifieds WordPress Plugin › Support › General › HivePress › Listings title displaying restricted to amount of characters.
Listings title displaying restricted to amount of characters.
- Lenki1 day, 20 hours ago
Hi Ihor, I have 3 questions, I’m sure that you have solutions 🙂
1. I want to display title with restricted amount of charters. For example title has 60 letters, but on front-page and /listings in columns/blocks will display only 40 and then “…” like on https://olx.pl (front page).
2. How to delete /account icon from header?
3. Is it possible to any manual edit /account site – I mean this sidebar with listings, settings, logout etc.? I need add breadcrumbs and delete access to /account/sample_site_to_delete.
Lenkiihor23 hours, 27 minutes agodeveloper
1. It’s possible, but requires CSS customizations https://www.w3schools.com/cssref/css3_pr_text-overflow.asp
2. You can try this CSS snippet:
3. If you mean adding custom content or menu items this requires PHP customizations (if you’re familiar with PHP you can use the “hivepress/v1/menus/user_account” filter). Also you can add custom widgets to the account sidebar in Appearance/Widgets section.Lenki2 hours, 55 minutes ago
white-space: nowrap; width: 100%; overflow: hidden; text-overflow: ellipsis; border: 0px solid #000000; overflow: visible
2. Works, thanks.
3. Not tried yet, but this https://hivepress.io/support/topic/my-account-section/#post-7232 looks like enough.Lenki2 hours ago
So, with 15px font-size and one-line title there is 20 characters (320px device), 26 characters (360px device) and 32 characters (414px device). That’s enough for me.
You must be logged in to reply to this topic.