Forum Discussion

EvanB's avatar
EvanB
Copper Contributor
Sep 18, 2019

Change color of news post box

Is there any ootb functionality that allows me to change the color of the box that denotes that a news post is coming from an organizational news site? 

 

Attached a screen shot. 

 

6 Replies

  • Colin Steger's avatar
    Colin Steger
    Brass Contributor
    I'm not able to see your screenshot but, I know there is a way to highlight news from "Organization" sites using PowerShell which adds a background color to all Site Names in the News Article card.

    See the article below and find the Organization news section to see what it looks like.
    https://support.office.com/en-us/article/create-and-share-news-on-your-sharepoint-sites-495f8f1a-3bef-4045-b33a-55e5abe7aed7

    Here is the PowerShell that your SP Admin will need to run.
    https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/set-spoorgnewssite?view=sharepoint-ps

    • EvanB's avatar
      EvanB
      Copper Contributor

      Colin Steger thanks for the reply. I've actually already set 2 sites up as Org News sites. The problem is that all news from both sites are flagged with the same color banner. I was wondering if there's anyway to set it up so that Corp News is flagged with one color, while HR news would be flagged with a different color.

      • Colin Steger's avatar
        Colin Steger
        Brass Contributor

        EvanB Ah I see. I would expect that the background color for those boxes is dependent on the Site Theme for the site where the News web part is applied.

Resources