Hello Forum!
Just need a quick suggestion. I have a set of 6 images (social media icons). Whenever one social media field is empty, the image (icon) is hidden with code. Any idea how I could remove spaces occupied by hidden icons?
Hello Forum!
Just need a quick suggestion. I have a set of 6 images (social media icons). Whenever one social media field is empty, the image (icon) is hidden with code. Any idea how I could remove spaces occupied by hidden icons?
If you’re employing visibility:hidden to hide certain elements, then they still take up space on the page while hidden.
If that’s the case, then switch to display:none (removes the element completely from the document … i does not take up any space, even though the HTML for it is still in the source code).
Thanks @abergquist . May I ask in WIX code how display:none would look like?
Hi,
There is no Wix Code display property.
My suggestion is to use a gallery element to remove the empty space.
Roi.