Hi,
We used a codeblock to place some extra code in. We dont need the code to show so we gave the codeblock a display:none css class.
Not in the front-end there are several div’s placed arount the code block. Also a .content div which places a margin on top and bottom.
We just want the codeblock to be invisible on the front-end. So no sections or other content divs around them.
Any idea how to solve this?
Hey hotspot,
Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)
Best regards,
Vinay
Hi Vinay,
On the bottom of the page, above the footer and below the review. You see a white horizontal area which is the codeblock.
It gets a padding from the .content that is placed around it.
Placing the codebock inside other elements does not solve the problem.
Any suggestions?
Hi!
Please add your code block into a color section element with a unique ID – http://kriesi.at/documentation/enfold/wp-content/uploads/sites/2/2013/12/color-section-ID.png and then add following code to Quick CSS
#your-unique-id { display: none !important; }
Cheers!
Yigit