2

I have created a spcolor file and included it in a template page background and link colors are working fine but the header color alone not applying

1
  • You need to verify whether the new CSS is being applied or not in developer tools. Provide some more details in your question would be better to understand.
    – Pradip R.
    Oct 10, 2016 at 6:37

1 Answer 1

3

Check if you are editing the correct colorpalette color. You can do this by searching the COREV15.css (located in the sharepoint hive for example C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\1031\STYLES\COREV15.css, or under https://yourSharePoint/_layouts/15/1031/styles/corev15.css);

For example

<s:color name="BodyText" value="444444" />

Can be found in the COREV15.CSS as replace tag

.sp-peoplepicker-topLevel,
.sp-peoplepicker-topLevelDisabled,
.sp-peoplepicker-autoFillContainer,
.ms-inputBox
{
/* [ReplaceColor(themeColor:"Lines")] */ border:1px solid #ababab;
/* [ReplaceColor(themeColor:"BackgroundOverlay",opacity:"1")] */ background-color:#fff;
/* [ReplaceColor(themeColor:"BackgroundOverlay")] */ background-color:rgba( 255,255,255,0.85 );
/* [ReplaceColor(themeColor:"BodyText")] */ color:#444;
}

So to check where the color if your desired element comes from, you simply use the browser devlopment tools to get the css rule that applies the color. Search for the color in the COREV15.cssand hope there is an [ReplaceColor(themeColor:"TheColorYouNeedToModify")] tag there.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.