Forum Moderators: not2easy
<div id="service_areas" class="et_pb_section et_section_regular">
<div class="et_pb_row">
<div class="et_pb_column et_pb_column_4_4">
<div class="et_pb_text et_pb_bg_layout_light et_pb_text_align_left">
- - - This is the Div I want to change the margin-bottom: to 0px - - -
</div> <!-- .et_pb_text -->
</div> <!-- .et_pb_column -->
</div> <!-- .et_pb_row -->
</div> .et_pb_text {
margin-bottom: 30px;
} #service_areas.et_pb_text {
margin-bottom: 0;
} .et_pb_text {
margin-bottom: 30px;
} #service_areas > div > div > div {
margin-bottom: 0;
}
So I tried to target it with:
#service_areas.et_pb_text {
margin-bottom: 0;
}
#service_areas .et_pb_text {
margin-bottom: 0;
}
#service_areas .et_pb_text {
margin-bottom: 0;
}
I would just like to say that when coding CSS, there is a fine line between having not enough caffeine, and having WAY TOO MUCH caffeine...
#service_areas .et_pb_text
Selects all Descendants with class .et_pb_text.
#service_areas > .et_pb_text
Selects all direct Children with class .et_pb_text