If a .page-builder__item--text
has a table in it I want it to take on x styles.
From reading the sass-lang docs I've got this but this doesn't seem to work. Have I misunderstood the docs? If so how? Note: I can't change the html
table {
.page-builder__item--text & {
background-attachment: red;
}
}
the html looks like this
<div class="page-builder__item--text">
<div class="no-leftpad no-rightpad">
<div class="pb-text">
<table>
//====table content here
</table>
</div>
</div>
</div>