Skip to main content
Question

Change Service Item Title and Description to remove Ellipsis


Forum|alt.badge.img+2

Is it possible to change the behavior of the Title and Description lines as shown below on a Service Item so that neither are truncated by the ellipsis? Even when we make the tile wider, it doesn’t allow any more of the title or description to display. Is there CSS that someone can provide to fix this?

 

 

Did this topic help you find an answer to your question?

5 replies

eeha0120
Skilled Expert
Forum|alt.badge.img+12
  • Skilled Expert
  • 738 replies
  • November 1, 2023

Hi.

Wonderful request.

Let’s wait for someone else’s response, but I’d suggest to submit a support case. They will help you with this, with the UX team, if possible.

 

Regards,


Forum|alt.badge.img+2
  • Author
  • Contributor
  • 3 replies
  • November 3, 2023

I have a ticket open with support to see if this is possible.


Forum|alt.badge.img+2
  • Author
  • Contributor
  • 3 replies
  • November 6, 2023

FYI - Support says this is not possible.


Forum|alt.badge.img+5
  • Community Debut
  • 87 replies
  • November 18, 2023

Hi @jlambert 

Hope you are well, Apologies that the support person wasn’t able to help you out. I have a piece of code which maybe you can try and might help you out:

 

<script>

    $(document).on("PageUpdate", function (event) {

        if (event.detail.page !== "catalog_items") return;

 

        var listItemsContainer = $("#list-items");

        var updateItemNames = function (items) {

            items.forEach(function (item) {

                listItemsContainer

                    .find('a[href="/support/catalog/items/' + item.id + '"] .item-name')

                    .text(item.name);

            });

        };

 

        updateItemNames(event.detail.data.items.catalog_items);

 

        listItemsContainer.off("NewContent.nameupdate");

        listItemsContainer.on("NewContent.nameupdate", function (event) {

            updateItemNames(event.detail.items.catalog_items);

        });

    });

</script>

 

If you can paste this in the Footer section of Rebranding and check if it works?

Regards,

Ammar KB


zachary.king
Skilled Expert
Forum|alt.badge.img+16
  • Skilled Expert
  • 951 replies
  • November 19, 2023

It is troubling just how locked down the service catalog is. I don’t like the fact that we can’t do more customization of this environment. They give us free reign on the support portal but then prevent us from doing much to the service catalog. One thing we have had them implement on our behalf is to add code that expands the description text on all individual service items. That has made it a little better.


Reply