0

I created a new modern page, and i am trying to change the font color for the page title is this possible? if this is not possible , then can i hide the page title completely and instead of this to add a text web page which acts as the title and control its color?

2
  • 1
    Do you want to change the font color for all modern pages or only particular pages? If you want to do it for all the pages then you can apply custom CSS by creating SPFx application customizer. Commented Aug 11, 2020 at 10:20
  • @GaneshSanap i am trying to find a way to allow end users to change the page titles to whatever color they want,, not necessary the same color... i am trying to find something similar to the modern text editor web part, where you select a text and change its color,size, etc..
    – John John
    Commented Aug 11, 2020 at 11:00

1 Answer 1

0

You could craete a js file to read the text editor web part value and set the title style with the value. Then you could use SPFX extension to upload js file to SPO.

https://github.com/hugoabernier/react-application-injectcss(demo on add CSS file,you could change it to add JS file)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.