0

I want to change the font weight for the title, body, etc fields to be bold. Using the IE tools I have identified that these title are within an h3 with class ms-standardheader. as follow:-

enter image description here

So inside my custom css I wrote the following :-

.ms-standardheader h3.ms-standardheader {
font-weight:bold !important;
}

But it did not change the font weight, can anyone advice what is wrong with my code ?

3
  • 2
    Try changing your selector to .ms-formlabel h3.ms-standardheader instead.
    – user2536
    Commented Oct 2, 2013 at 13:40
  • it worked well , can can you adive why mine code did not work ?
    – John John
    Commented Oct 2, 2013 at 13:56
  • 2
    Your CSS was looking for an H3 with class "ms-standardheader" to was a descendant of an element with class "ms-standardheader" Daniel's works because it has an appropriate parent class.
    – Brian P
    Commented Oct 2, 2013 at 14:22

1 Answer 1

1

I followed Daniel advice and used ".ms-formlabel h3.ms-standardheader" which solved my problems.

1
  • hi John- could you please autoaccept your answer? that way the question will appear as answered. Commented Dec 18, 2013 at 12:35

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.