Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ascenda

    (@ascenda)

    OK, I found.
    It should be:
    $books = get_post_meta(get_the_ID(), ‘books’, true);

    Thread Starter ascenda

    (@ascenda)

    I know now, that for this is responsible “sticky”, but if I turn off it, the color lines between names in the menu disappear 🙁

    Thread Starter ascenda

    (@ascenda)

    You can copy this to Sidebar with php widget:
    ——————————————————————————-
    <?php $islemag_sticky_menu = get_theme_mod( ‘islemag_sticky_menu’, false ); ?>
    <div id=”navbar” class=”navbar <?php if ( isset( $islemag_sticky_menu ) && $islemag_sticky_menu == false ) { echo ‘islemag-sticky’;} ?>”>
    <nav id=”site-navigation” class=”navigation main-navigation” role=”navigation”>
    <button class=”menu-toggle”><?php _e( ‘Menu’, ‘islemag’ ); ?></button>
    “><?php _e( ‘Skip to content’, ‘islemag’ ); ?>
    <?php wp_nav_menu( array( ‘theme_location’ => ‘islemag-primary’, ‘menu_class’ => ‘nav-menu’, ‘menu_id’ => ‘primary-menu’, ‘depth’ => 6 ) ); ?>

    </nav><!– #site-navigation –>
    </div><!– #navbar –>
    <?php
    islemag_main_nav_after(); ?>
    ——————————————————————————-
    But… when I scroll down the page and if the first name of menu touch the top of the web browser it return to first name of the menu. Is there any possibility to fix this issue?

Viewing 3 replies - 1 through 3 (of 3 total)