Tagged: breadcrumb
- This topic has 4 replies, 2 voices, and was last updated 6 years, 10 months ago by Theme Horse Support Team.
-
AuthorPosts
-
December 24, 2017 at 11:24 pm #54567pentalogiaParticipant
Merry Christmas or Holiday!
I have installed Breadcrumb NavXT so that to make a breadcrumb menu like a demo performance in your home.
But it’s too long breadcrumb menu when I sometimes have to make a long length of post subject/name.
How can I control/cut a subject length of my posting off in breadcrumb menu?
or Can I remove the posting subject in breadcrumb menu if I can’t control?
I can’t control in the control panel of the Extension.
Can I get any way for this?
Thank you.
A sample posting for the long length: http://mimoonchurch.com/?p=4469December 26, 2017 at 2:30 pm #54604Theme Horse Support TeamKeymaster@pentalogia Please add below custom css code to hide the long text.
.breadcrumb { max-width: 370px; height: 20px; text-overflow: ellipsis; white-space: nowrap; }
Thank you!
December 27, 2017 at 8:18 am #54618pentalogiaParticipantThank you for your suggestion.
That code is helpful.
But Plz allow one more question about this.I have any suggestion from mtekk.com.
.breadcrumbs span[property="name"] { max-width: 320px; display: inline-block; padding: 0; margin-top: -3px; vertical-align: middle; max-width: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
It may be control in ‘posting subject’.
Because span[property=”name”] is a tag for the subject of each posting on Breadcrumb NavXT.
But that code(mtekk’s) has no effect anything in this theme.
So I changed as follows:.breadcrumb { max-width: 320px; display: inline-block; padding: 0; margin-top: -3px; vertical-align: middle; max-width: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
I could get the effect that is same of your suggestion.
Can I however get an effect for span[property=”name”] ?
Finally, I want to remove ‘posting subject’ in breadcrumb menu-line by that code.December 28, 2017 at 12:10 am #54631pentalogiaParticipantIt’s the best setting for my situation if we no were find the way that removed only posting subject.
.breadcrumb { max-width: 220px; // display: inline-block; // ---except for mobile view padding: 0; margin-top: -3px; vertical-align: middle; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
December 28, 2017 at 10:37 am #54644Theme Horse Support TeamKeymaster@pentalogia Please try below css code which will remove last posting subject.
.breadcrumb span[property="itemListElement"]:last-child { display:none; }
Thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.