• Resolved nodayjob

    (@nodayjob)


    Hi Kyle,

    I love the look of your theme, and have found it easy to use. The one issue I’ve run into is when I view my page on my android phone the menu icon (three horizontal bars) shows up in the browser but nothing happens when I click it. What am I missing? Is there a setting somewhere for this, I’ve looked all over, but can’t seem to find anything.

    Thanks,
    Greg

Viewing 5 replies - 16 through 20 (of 20 total)
  • ^ Header Title (top-left corner text, site-wide) – not site title ??

    Theme Author Kyle Gabriel

    (@kizniche)

    Melissa,

    Ooooo, what a nasty little bug you found. Thank you for bringing it to my attention. I’ve fixed it, and it should find its way into the next Atomic release (not sure when).

    To fix this in the meantime, you can alter header.php and add the ‘else’ statement at the end of this code:

    if ( ( of_get_option( 'header_title_text', '1' ) && of_get_default( 'header_title_text' ) ) || get_theme_mod( 'logo' ) ) {
        echo '<h1 class="site-title"';
        if ( of_get_option( 'header_title_size', '' ) ) {
            echo ' style="font-size: ' . of_get_option( 'header_title_size') . 'rem;"';
        }
        echo '><a href="' . esc_url( home_url( '/' ) ) . '" rel="home">';
        if ( get_theme_mod( 'logo' ) ) {
            echo '<img src="' . esc_url( get_theme_mod( 'logo' ) ) . '" alt="' . get_bloginfo( 'name' ) . '" />';
        } else {
            if ( of_get_option( 'header_title_text', '' ) || of_get_default( 'header_title_text' ) ) {
                echo of_get_option( 'header_title_text' , of_get_default( 'header_title_text' ) );
            }
        }
        echo '</a></h1>';
    } else echo '<h1 class="site-title">&nbsp;</h1>';

    Hi Kyle,

    I am having the same issue here. I have tried to insert the code you provided however it hasn’t worked.
    I also have the links in the header cut off when on mobile view.

    my site is https://www.myaltruistictravels.com

    If you could assist here that would be greatly appreciated.

    Thank you

    Theme Author Kyle Gabriel

    (@kizniche)

    biancajadelove,

    I don’t see the edit to header.php I posted, on your website. Make sure you edited header.php in the right area and saved the changes.

    else echo '<h1 class="site-title">&nbsp</h1>';

    should go after the closing “}” of the above if statement.

    So if there is no header title specified, <h1 class="site-title">&nbsp</h1> will be displayed on all pages (or rather be there but not be visible). This is how you can check if the code was properly inserted into header.php.

    Thanks so much Kyle. It is working now.

    Kind regards,
    Bianca

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘No menu on mobile’ is closed to new replies.