Share via

Can I use Visual Studio to change the CSS code for my SharePoint Logo in SharePoint Server 2019?

Tevon 35 Reputation points
2023-04-18T12:16:28.8033333+00:00

Is it possible to increase the size of my SharePoint site thumbnail by using devtools to identify the right controls and then using an application like visual studio to update my site will the desired updates. We aren't trying to pay for a custom script builder application if the change can be done for free.

  • Are there any caveats to trying to make this change or better methods?
  • Should I verify anything in Central Admin?
Microsoft 365 and Office | SharePoint Server | Development
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.


1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 40,496 Reputation points Microsoft External Staff
    2023-04-20T01:58:51.8866667+00:00

    Hi @Tevon

    If you are using a classic page, you can use CSS in master pages. Please refer to the following steps

    https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/use-css-to-brand-pages

    If you are using a modern page, we are unable to change the css by script editor or master page. You can create custom web parts or migrate your existing script editor web parts to the SharePoint Framework.

    For SharePoint Framework, you can follow the steps to apply a spfx webpart.

    https://learn.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.