• On my laptop I can see my blog and sidebar. But my iPad and mobile only show the content, and puts the sidebar below on the page. I would like it to be on the right side, like it shows on my laptop. Is there a simple way to change this/ I have to warn you: I am a newbie on wordpress and am in need for a simple step by step answer. I am so hoping anyone can help me to fix this problem, because I really love the Omega design!

    https://mylittlegreynotebook.nl

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Han

    (@hwijaya)

    Yes, that’s default view for mobile. You can customize it via child theme or simply use my non Responsive Omega child product

    Thread Starter mylittlegreynotebook

    (@mylittlegreynotebook)

    Thank you so much for your quick response!The design is great. I really love it!
    I would like to customize it so it shows my sidebar on mobile devices, but I don’t know where and how to do that. Could you help me with that? Like I said..I am a newbie, so I need simple steps to fix this.

    https://mylittlegreynotebook.nl

    What worked for me, was changing the viewport (in lib/functions/head.php) to “width=device-width; initial-scale=1;”.

    So line 20 is now:

    echo ‘<meta name=”viewport” content=”width=device-width; initial-scale=1;” />’ . “\n”;

    That way a sidebar is shown in landscape-mode on the iPad, but not in portrait mode (which wouldn’t be useful).

    Good day,

    Please help. I want my sidebar to show up on mobile device after every post. Currently, in order to see it you need to click a button. I’m not good in code though.

    Here’s the code for my sidebar.php

    <?php
    /**
    * The sidebar containing the main widget area.
    *
    * @package Gazette
    */

    if ( ! is_active_sidebar( ‘sidebar-1’ ) && ( ( 1 != get_theme_mod( ‘gazette_author_bio’ ) && ! get_the_author_meta( ‘description’ ) ) || ! is_single() ) ) {
    return;
    }
    ?>

    <?php if ( is_active_sidebar( ‘sidebar-1’ ) ) : ?>
    <button class=”sidebar-toggle” aria-controls=”secondary” aria-expanded=”false”><span class=”screen-reader-text”><?php _e( ‘Sidebar’, ‘gazette’ ); ?></span></button>
    <?php endif; ?>

    <div id=”secondary” class=”widget-area” role=”complementary”>
    <?php
    // Author Bio
    if ( 1 == get_theme_mod( ‘gazette_author_bio’ ) && get_the_author_meta( ‘description’ ) && is_single() ) {
    get_template_part( ‘author-bio’ );
    }

    // Sidebar
    dynamic_sidebar( ‘sidebar-1’ );
    ?>
    </div><!– #secondary –>

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘sidebar not showing on ipad and mobile phone’ is closed to new replies.