how to use an external CSS file to apply same style to all forms

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
User avatar
AlexStenAlexSten
Posts: 31
Joined: Fri Apr 07, 2017

10 Jul 2017

Hello,
is it possible to create a CSS file, stored at site contents level, and to have all the forms reading the CSS code from it?

I have same layout for most of forms in my site and, in case I need to change anything, I would like to edit only the "global CSS file" instead of changing the CSS editor for each form.

thanks in advance,
Alessandro
ciao,
Ale Stendardo

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

10 Jul 2017

Hello, Alex!
There are two ways you can go about it. If you want only specific forms to use this CSS you can manually add HTML elements to the forms:

Code: Select all

<link rel="stylesheet" type="text/css" href=".../mystyle.css">
Alternatively, if you want all your pages to use same CSS, you can apply CSS to the Master page of your site and this will apply changes to all pages on your site, including the forms - https://support.office.com/en-us/articl ... da2801b1a7
Cheers

User avatar
AlexStenAlexSten
Posts: 31
Joined: Fri Apr 07, 2017

10 Jul 2017

hello Nikita,
thanks a lot for your prompt reply. Much appreciated.
I'm going to use it immediatly.
ciao
ciao,
Ale Stendardo

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests