Built-in style sheet overrides custo css
Hi,
I have a master page linked to a custom style sheet.
In the custom style sheet there is :
.sfContentBlock h2
border-bottom: 1px solid #D4D4D4;
line-height: 2;
#content h1, #content h2, #content h3, #content h4, #content h5, .sfContentBlock h1, .sfContentBlock h2, .sfContentBlock h3, .sfContentBlock h4, .sfContentBlock h5
line-height: 1.2;
This should work
line-height
:
2
!important
;
Hi Steve,
Thank you for your solution.
I have had good results specifying a parent element class :
.public-wrapper .sfContentBlock h2
border-bottom: 1px solid #D4D4D4;
line-height: 2;