0

how i can add an image or change the color for only one of my SP page? at the moment the background color is white.

Regards

  • Well, for only one page (not site/web, right?) the fastest way would be custom CSS in a Content Editor Web Part. Keep in mind, that copy/paste only will not help as SharePoint renders the given string as it is. You need to switch to Code View (or HTML View, I can't fully remember). – airliner Jan 11 at 7:49
  • thanks for the response, its just one page that i need to change the color. – Harris Jan 11 at 7:53
  • i am using the below code in content editor webpart however its not doing it<style> body{ backgroundcolor:#FFA500; } </style> ​​​​​ – Harris Jan 11 at 7:54
  • You may have a typo in here. It should be called background-color. Reference: w3cschool. – airliner Jan 11 at 8:02
  • oops, i have fixed my typo however the color didn't covered all the page. – Harris Jan 11 at 8:08
1

Please try this CSS on the page (Inside script editor or content editor)

<Style type="text/css">
#s4-workspace
{
   background-color: #ffffff
}
</style>

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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