Can anyone help me with styling an H3 and a p tag within a div?
I'm facing an issue where the p tag is not being styled in this code block:
.marketing-single-page-titles{
h3 {
margin: 0;
padding: 0;
p {
margin: 0;
padding: 0;
position: relative;
top: -5px;
color: $marketing-blue;
font-weight: bold;
}}}
However, the following code successfully styles the p tag:
.marketing-single-page-titles p {
margin: 0;
padding: 0;
position: relative;
top: -5px;
color: $marketing-blue;
font-weight: bold;
}
Any insights on why the styles for the p tag are being ignored in the first block?