I have a custom html with css with background color - light pink.
However, after converting it to a master page, the background color is now the default white.
How can I change that for SharePoint 2013?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
Make sure to register your CSS and have it apply after the default CSS:
<SharePoint:CssRegistration name=”<% $SPUrl:~sitecollection/Style Library/Custom Style/css/yourCustom.css %>" After=”corev15.css” runat=”server”/>
No need to use !important in this case.
The CSS to overwrite the default white background is as Tiago stated.