Home>Support>Change in the mobile version

Change in the mobile version

I have a search engine in the Sidebar. In the desktop version I know put it to the left or right. But in the mobile version, the Sidebar is below the content and I want it to appear in the beginning. Is It possible? How I do? Thank you.

URL: http://olivermoyabueno.com/shop/

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, 10 months ago Andrew Misplon
    Hi, I Work Here

    Hi Oliver

    Thanks for reaching out.

    There isn’t any way of doing this using CSS that I know of. You’d need to use a child theme and copy every page template from the parent theme and paste it into the child theme folder. From there you’d need to swap the order of the sidebar and content.

    For example, for your posts, in single.php you’ll find:

    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>
    

    You’d need to move the sidebar and place it above the content so that the start of the document looked as follows:

    get_header(); ?>
    
    <?php get_sidebar(); ?>
    
    <div id="primary" class="content-area">
    	<div id="content" class="site-content" role="main">
    

    This is custom development so not something we can do for you. If you have a little development experience we can advise though. Here is a starter child theme if you want to go down this route:

    https://siteorigin.com/wp-content/uploads/2015/03/vantage-child-starter.zip

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