Content to squeeze when slides menu in

Hi, im currently trying to bring in a side menu and make the page content squeeze left when i do so. I think this should be done with Variables but i’m not sure how to do so. Could someone point me in the right direct?

(I have googled but couldn’t seem to find what i was looking for)