I created a custom page template with two sidebars to my child theme, and worked out that adding negative margin-top to sidebars pulls them up from underneath the main content.
I was wondering if anyone could help me out and tell me if there’s a way to set a negative margin responsive to the height of the main content which varies?
But setting the wrapper to position:absolute; overrides the absolute position of the container which holds the footer down..
I also tried adding a background image to the wrapper, thinking if content extends, sidebars will do as well, but that gets rid of the sidebars completely..
Would really appreciate your help! 🙂
Thanks!
Dom
The topic ‘How 2 set negative sidebar's top-margin,responsive to main content's height?’ is closed to new replies.