This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Change in the mobile version

10 years ago · Last reply by Andrew Misplon 10 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Andrew Misplon Staff 10 years, 3 months ago

    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.

Have a different question or issue?

Start New Thread