Hide page titles
Is there a way to only hide the "All requests" heading on the portal page.
And the "Request Form" heading on the RO page?
Best Answer
-
Nicholas_Velich Cireson Consultant Ninja IT Monkey ✭✭✭✭Hi Magnus,
Yes, this could be accomplished within the custom.js file using the following steps:- In your browser's developer console (F12 --> Console tab), search for and identify the element's selector using JQuery... there will most likely not be a unique ID, but you could create a selector that uses a combination of the element's class and the contains() method.
- Once you have your element, you would want to use the .hide() method on it. More info here.
- Once you have the elements figured out in the browser, the code can be added to custom.js to hide the element on page load. You would also want to add a check to verify the page you are on before the code executes. For example: if (document.URL.indexOf("ServiceCatalog/RequestOffering") === -1) { // hiding code for a specific page here }
Thanks,
Nick5
Answers
Yes, this could be accomplished within the custom.js file using the following steps:
Thanks,
Nick