• Resolved borkenkaefer

    (@borkenkaefer)


    Hello

    I’m developing a child theme for omega. Now I’d like to load the left sidebar before the content. How can I accomplish that? And why would I do that?

    On my website, the most important information is in the sidebar, so when you go to the website on a mobile phone (responsive small css-layout), I’d like to see first the sidebar and then the content, not the other way round like it is now.

    Any suggestions?

Viewing 1 replies (of 1 total)
  • Thread Starter borkenkaefer

    (@borkenkaefer)

    Oh dear, I mispelled a word, that’s why, it didn’t work.

    Solution:

    Add following to functions.php

    remove_action( "omega_after_main", 'omega_primary_sidebar' );
    add_action( 'omega_before_main', 'omega_primary_sidebar' );
Viewing 1 replies (of 1 total)
  • The topic ‘load sidebar before content’ is closed to new replies.