In the <head>
of the HTML code of your page you added
<style>
element.style {
margin-top: 0px;
margin-bottom: 0px;
position: absolute;
overflow: visible;
height: 417px;
width: 1920px;
left: 0px;
}
</style>
Element.style concerns CSS styling done through Javascript, so declaring element.style directly in your css code will not work in the absolute majority of cases.
To fix, all you need to do is change element.style to the appropriate selectors, such as div#id1
. What I imagine you want to do is reduce or eliminate the red slider occupying the page.
To reduce:
<style>
section.sec-slider{
margin-top: 0px;
margin-bottom: 0px;
position: absolute;
overflow: visible;
height: 417px;
width: 1920px;
left: 0px;
}
</style>
This applies your style presented in the question with the correct selectors, which breaks the site visually.
To eliminate
<style>
section.sec-slider{
display:none
}
</style>
Pq
element.style
? You should put the element id, class, tag...– Sam
So, precisely why I posted the question, I don’t know exactly how to correct.
– adventistapr
But you didn’t even mention which banner this is. Just put a link to your site, which in itself is bad. I think your question lacks more details.
– Sam