I have a template page I have created for WordPress the page is a DIV that has the following CSS applied to it;
.page-width {
max-width: 1170px;
margin-left: auto;
margin-right: auto;
padding-left: 25px;
padding-right: 25px;
border: 1px solid #eee;
border-top: none;
}
The WordPress content is outputted to that DIV. I am using a page builder to create a slider at the top of the page, but I want there to be no gap between the top of the slider and the horizontal menu and to the sides of the slider so I have used this code;
.page-width .widget_sow-slider {
margin-left: -25px;
margin-right: -25px;
margin-top: -25px;
}
This looks almost perfect except that there is a 1px border to the left/right of the slider which is noticeable. Is there a way to remove the border at that point or have the slider overlap it by 1px either side.
UPDATE:
The HTML looks like this;
<div class="page-width">
<div class="widget_wow_slider;">
.. slider..
</div>
</div>