I know that I can remove blocks by commands, but is one thing more correct, than the other?
Also, would I somehow be able to remove a .div class instead of a block? so that I can remove a .div from a specific page?
Heres the examples of the snippets I know of, to remove blocks.
<remove name="name_name"></remove>
<action method="unsetChild"><name>name.name</name></action>
Remove– remove block from any level, example blockAAAis child of the blockleftthat is child of the blockcontentthen I can remove it at top level of page layout:unsetChildwe can use only within parent of the target block, example if I have this layout:Then I can remove BBB with method
unsetChild