'How can i change sidebar position in mobile view at Wordpress theme?

I have issue with right side bar. I need to move it above the post area in mobile view. Something like this https://ibb.co/rk9yzJ7 Is it easy to set it or I must find different theme?

Website: https://www.muj-kraj.cz/



Solution 1:[1]

You can do this with CSS, see Move an element one place up or down in the dom tree with javascript

If it is for mobile, it will involve a media query referencing screen.

You will need to know the element ID of the primary (post content area) and of the secondary (sidebar area) DOM elements.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ed2