CSS Display Visibility
Hiding or showing a block of text on your page, without any server-side code, can be done from CSS. Set the visibility CSS property to either visible or hidden to show or hide your content.
When a certain block is set to hidden, a placeholder (blank block the size of the original one) will appear so no, setting a block to hidden won't break your design. Notice how the buttons in the example below don't change their place even though the text above can disappear and appear back.
HTML Example:
Now you see me, now you don't
Result:
Now you see me, now you don't
Share Tweet