2. Question: Why can you open and close the door on Shabbos even if the Chanukah menorah is mounted on it but if you lit your menorah on the table, the table is muktzah and cannot be moved the entire Shabbos?
A. The Mishna Berura (277:1:7) says the reason why the door isn’t muktzah is because it’s of great value since it is used for the house and is nullified to the house and not to the candles.
B. By Shabbos candles the Mishna Berura there (si’if katan 18) say that if Twilight (bein hashmashos) there is challahs or other things needed for shabbos on the table and the shabbos candles are also there the table is a base for permitted and forbidden things and can be carried with the candles to a different place if the table is needed elsewhere assuming you can’t push off the muktzah stuff, i.e. the candles.
C. Rav Elyashiv poskined that even if there is something more valuable which is permissible on the table when the Chanukah candles were lit there going into Shabbos still the table cannot be moved even after the candles go out.
D. On any night candles cannot be moved until after the mitzvah is done and on shabbos they can’t be moved until after shabbos.
Answer: The difference between a door and a table is that the door is considered part of the house which is part of the ground which can’t become muktzah but a table is an object which can become muktzah if it was set aside before shabbos to be used for something forbidden so since the table is being used for chanukah candles from before shabbos and is forbidden to be moved because of the Chanukah light then that supersedes even any important permissible thing from permitting the table to be moved on shabbos since the state of muktzah started from before shabbos whereas normally it starts as shabbos comes in.