Posts

Showing posts from September, 2023

Facts #27 || CSS Tricks and scenarios related to Community Portal

When we are developing community portal by using OOTB functionalities. In some scenarios we need to hide the fields, buttons, list views from desktop and mobile. Will discuss some scenarios and CSS what can be used to make that scenario possible. To find the CSS class you need to search CSS class by inspecting the community page. ---------------------------------------------------------------------------------------------------------------------------- Scenario 1: If you are using case object page layout on community portal and business asked to remove the status field from the page layout [view and edit mode] but status field is required field and we can't hide this field from profiles and page layouts.  Solution:  Create one section in page layout and add status field to that section. To hide that section which contains status use below CSS to hide that section from page layout in Community portal // nth-child(n) -- nth section of the page layout you can replace the n value...