I am calling on a div from a Code Block on my page. I have the div display set to “none”. I have added a Custom CSS Class name to the Code Block and in the Quick CSS I have added the code .classname { display: none !important; } I am still getting a blank space on my page where that Code Block is located. How can I eliminate this spacing? I want to be able to hide the block completely.
Thank You,
The code block is positioned underneath the main header slider in the link below.
Hey D5WDesignGroup!
Add this to the codeblock.
<style type = "text/css">
#after_layer_slider_1 { display: none !important; }
</style>
Best regards,
Elliott
Thank you Elliot, I tried that but it made no difference. The slider in the header is a Slider Revolution slider, not sure if that changes the code you recommended. The code that I currently have in the code block is shown below.