Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter IliushaT

    (@iliushat)

    Thank you, Kirk, for showing the proper way to do it.

    If I will have any other ideas or questions on this topic, I will write them in this thread.

    By the way, you look like a very friendly alien in those glasses.

    Thread Starter IliushaT

    (@iliushat)

    Ruairi, thank you for replying.

    The alternative menu in the sidebar is not the easiest approach for me because I’ve chosen to have a somewhat multicoloured background image for the main site’s background which sometimes makes the text on the sidebar hardly readable. Besides, I like the appearance of multi-level menu in Sorbet on its own account even without toggling and I am afraid that users that are not savvy enough to know what the three line menu icon does, will not be able find out about this nice looking menu at all.

    Anyway, I think I’ve found a way to show the primary menu by default without losing the toggle functionality.
    In child theme’s style.css I put:

    .panel#menu-toggle-nav {
      display: block;
    }

    This makes the menu always on.
    Also, you can make the menu toggle button to light up by default. Open sorbet/js/menu.js and add the following line before “// Display/hide sidebar”
    menuToggle.addClass('active');
    I do not know, though, how to modify this code with a child theme.

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