Home>Support>How to make the sidebar appear above content on mobile devices?

How to make the sidebar appear above content on mobile devices?

By aungar93, 8 years ago. Last reply by aungar93, 7 years ago.
Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi,

I have a sidebar on my site with a click to call button at the top of it. I would like the sidebar to appear at the top of the page when it is viewed on mobile devices so that people can see the click to call button first. Is there a way to do this?

Thanks,

Adam

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Adam,

    You can change this with some custom CSS. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Just add the following code.

    @media (max-width: 680px) {
    	.site-main .full-container {
    		display: flex;
    		flex-direction: column-reverse;
    	}
    }
    

    How does that look? Please note that this will not work in really old browsers.

    You might also need to install the SiteOrigin CSS Editor.

  2. 7 years, 6 months ago aungar93

    That worked great, cheers!

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More