1

I wrote the following to update my SP web application branding :-

$webApp = Get-SPWebApplication http://****:26611/
$webApp.SuiteBarBrandingElementHtml = '<div class="ms-core-brandingText"> <a class="ms-core-brandingText" href="/" >Wp</a></div>'
$webApp.Update()

but the result was not very pleasant, because i though the branding link will be while colored , but seems it will get a blue or visited color as follow:-

enter image description here

so can anyone adivce how to define my branding link to always be white colored ?

1 Answer 1

2

The quick and dirty version (no external CSS file)

$webApp = Get-SPWebApplication http://****:26611/
$webApp.SuiteBarBrandingElementHtml = '<div class="ms-core-brandingText"> <a class="ms-core-brandingText" style="color:white" href="/" >Wp</a></div>'
$webApp.Update()

Might need an !important, I'm not connected to a farm to try it out right now

2
  • this worked well, but i was trying to avoid manually force the color to be white, as i wanted to comply with what ever SP provide for the ms-core-brandingText ..
    – John John
    Jul 1, 2015 at 21:48
  • 1
    If you need that you need to add your own CSS file (as alternate CSS or by for example a custom action or delegate control, tons of example of this on this site and on the web). Then in that file you need to apply the same branding as above to the element Jul 2, 2015 at 5:08

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.