Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

son to change the SharePoint Site Header and font type as a part of Site design and scripting

$
0
0

Hi All,

We have a requirement to change the Site Header in SharePoint online modern sites. Also, we want to have VIC as the text font. How can I do this with site design and scripting? 

I have the following script now I want to add Site Header colour and Site text font as a part of the following design, then staff select the following Design while creating the site the site header colour and text format will apply automatically, how can I do this. 

{
  "$schema": "schema.json",
  "actions": [
    {
      "verb": "applyTheme",
      "themeName": "DHHS Corporate Site Test Theme"
    },
    {
      "verb": "setRegionalSettings",
      "timeZone": 10,
      "locale": 3081,
      "sortOrder": 25,
      "hourFormat": "12"
    },
    {
      "verb": "setSiteLogo",
      "url": "https://XXX.sharepoint.com/:i:/g/EeVnI2ZNDsZKo4yPO9n4lJwBtwyGpFAEl0L80C7kHNqf2A?e=kr5vHh"
    },
    {
      "verb": "setSiteExternalSharingCapability",
      "capability": "Disabled"
    },
    {
      "verb": "addPrincipalToSPGroup",
      "principal": "ContosoAdmins",
      "group": "Visitors"
    },
    {
      "verb": "createSPList",
      "listName": "Employees",
      "templateType": 100,
      "subactions": [
        {
          "displayName": "Full name",
          "internalName": "fullName",
          "isRequired": false,
          "addToDefaultView": false,
          "fieldType": "Text",
          "enforceUnique": false,
          "verb": "addSPField"
        },
        {
          "verb": "setTitle",
          "title": "employees"
        }
      ]
    }
  ],
  "bindata": {},
  "version": 1
}

Thank you very much. 


d.n weerasinghe


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>