• Resolved andylarge22

    (@andylarge22)


    Hi There,

    Firstly would like to say Bento is amazing, I like it so much I have just bought the expansion pack.

    Could you tell me how I could move the mobile hamburger icon to the right and when I press it the menu appears from the right?

    Any help much appreciated.

    Kind Regards

    Andrew

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

    (@satoristudio)

    Hello Andrew, thanks for choosing Bento!
    A right-side mobile menu hasn’t been envisaged in Bento so far, so there’s currently no built-in way of achieving this. In order to achieve this, the following steps will need to be taken:

    – move the bento_mobile_menu() template tag under the logo in the theme’s header.php file (preferably via a child theme, otherwise the change will get overwritten by the next theme update).

    – change the CSS declaration on the #nav-mobile element from left: -100%; to right: -100%;

    – adjust both $str(‘#nav-mobile’).css calls currently found on lines 174 and 181 of the /includes/js/theme-scripts.js file, from changing the “left” property to changing the “right” property.

    Thread Starter andylarge22

    (@andylarge22)

    Thanks for replying.

    I should be able to make those changes, perhaps in the future it could be added in to the theme or possibly into the expansion pack.

    Thanks for a great theme.

    Theme Author satoristudio

    (@satoristudio)

    Thanks Andy, glad you like it! We’ll add this to our development backlog.

    Thread Starter andylarge22

    (@andylarge22)

    Thanks, it would be nice to see that feature added, I might actually wait rather than changing the code directly as things always seem to go wrong if I attempt that, lol!

    • This reply was modified 5 years, 6 months ago by andylarge22.
    • This reply was modified 5 years, 6 months ago by andylarge22.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Mobile menu on the right side.’ is closed to new replies.