Forum Discussion
Responsive SharePoint site with custom page temples
- Jun 20, 2022
Hi ganeshsanap , ok so if we don't use modern script editor what is the other recommended way to change look and feel of your modern page based on client requirement .
Should we go with complete SPFx solutions ?
Please suggest.
Thanks for the response . I also want to use mostly OOTB web parts but OOTB web-parts and design are very limited . Can we go with hybrid way like few OOTB webparts and few custom. Also please suggest if we use all webpart in page as OOTB and want to apply custom CSS on page , is it feasible . I know we can create modern script editor and put css but is it the recommended way to do . Please suggest.
MeShare115 You can use both OOTB & custom web parts on single page without any problem. You cannot apply custom CSS directly on modern pages using OOTB web parts.
You can use modern script editor web part on a page to inject custom CSS. However this type of DOM manipulations are not recommended by Microsoft because if in future Microsoft changes ID or classes of HTML elements for which you are injecting custom CSS, it will break your customizations.
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
- MeShare115Jun 20, 2022Copper Contributor
Hi ganeshsanap , ok so if we don't use modern script editor what is the other recommended way to change look and feel of your modern page based on client requirement .
Should we go with complete SPFx solutions ?
Please suggest.
- ganeshsanapJun 20, 2022MVP
MeShare115 It depends on what part of site/page you want to customize.
- To change the site navigation, header, footer look and feel: Change the look of your SharePoint site
- If you are not happy with existing themes & colors, you can create custom themes: SharePoint site theming
- To customize page content by adding custom web parts: Overview of the SharePoint Framework
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.