London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Remove "browse" link from Property

Vote:
 

Hi

Is it possible to remove "or Browse..." link from this property?

[Display(Name = "Category nodes", Description = "Soem description")]
[AllowedTypes(new[] { typeof(CatalogNode) })]
[BackingType(typeof(PropertyContentReferenceList))]
[UIHint(UIHint.CatalogNode)]
public virtual IList<ContentReference> SelectedCategories { get; set; }              
#221349
Edited, Apr 16, 2020 16:36
Vote:
 

Hi Juan,

We can hide the `Browse...` link instead of `or Browse...` using CSS.

1. Create a HideBrowseLinks.css file.

.epi-visibleLink  {
    display: none !important;
}

2. Add created CSS file path in the module.config file.

<?xml version="1.0" encoding="utf-8"?>
<module>
  <clientResources>
    <add name="epi-cms.widgets.base" path="~/Styles/HideBrowseLinks.css" resourceType="Style" />
  </clientResources>
</module>
#222305
May 02, 2020 18:34
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.