From this content, Is it possible to disable the portal only on mobile?
Hi Weerapat_Tangkana,
I assume you wish to hide contents in the “Contents in This Portal” section from the screenshot you provided.
In that case, utilizing CSS customization should be able to achieve the desired process.
By creating a CSS file that specifies the following and uploading it to “Upload JavaScript File for Mobile Devices,” it is possible to hide contents in the Portal.
/* Announcement */
.gaia-mobile-v2-portal-announcement-container{
display:none;
}
/* Apps */
.gaia-mobile-v2-portal-appwidget-container{
display:none;
}
/* Spaces */
.gaia-mobile-v2-portal-spacewidget-container{
display:none;
}
/* Assigned to Me */
.gaia-mobile-v2-assigned-assignedapplist-list{
display:none;
}
/* Notifications */
.gaia-mobile-v2-notificationpanel-contents{
display:none;
}
Please note that “Assigned to Me” and “Notifications” are displayed separately on the mobile display.
If you don’t need to hide the “Assigned to Me” and “Notifications” sections, you don’t need to specify the /* Assigned to Me / and / Notifications */ code.
The customization is a bit different if you wish to hide the whole Portal section.
The “Portal Settings” controls the display and non-display of the “Announcement” and other items on the “Portal” screen, so the “Portal” screen itself will remain displayed.
This setting also affects the PC display as well as the mobile screen.
If you wish to hide the “Portal,” the description will differ, as shown below.
/* Portal */
.gaia-mobile-v2-portal-index{
display:none;
}
/* Assigned to Me */
.gaia-mobile-v2-assigned-assignedapplist-list{
display:none;
}
/* Notifications */
.gaia-mobile-v2-notificationpanel-contents{
display:none;
}
(this hides the word “Portal” as well)
I hope this helps.