• Resolved TheHutt

    (@thehutt)


    Hello,

    I use the Jetpack mobile theme Minileven for my website: https://www.henneth-annun.ru . The main theme it uses is 2010 Weaver which is based on the TwentyTen theme. There is a navigation menu bar which is the only defined menu.

    However, the Jetpack mobile theme does not seem to be able to detect the menu; instead, it shows the entire list of pages, which makes the whole site unusable. So for now, I removed the menu loading code. What are the possible ways to solve this problem?

    https://www.ads-software.com/extend/plugins/jetpack/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    I checked your site, and I couldn’t see any menu at all. Did you remove it from the Mobile Theme files?
    The Mobile Theme searches through the custom menu locations for your current desktop theme and displays the menu assigned to the primary position. If you have no custom menus assigned, it will default to the standard page menu.

    I also saw that you made some changes to the Mobile Theme’s stylesheet. Instead of editing the Mobile Theme files directly, I would suggest that you use Jetpack’s Custom CSS module instead.

    The custom CSS editor (under Appearance > Edit CSS) includes an option to include this custom CSS in Jetpack’s mobile theme. You could consequently customize the look of the Mobile theme by adding your custom CSS code there, instead of editing plugin files, and losing your changes with every Jetpack update.

    You can use the .mobile-theme class to target only the Mobile theme.

    Thread Starter TheHutt

    (@thehutt)

    Yes, I had to remove it from the Mobile Theme files because the menu detection did not work and I could not keep the pages-generated menu on a live site. Anyway, here is a screenshot of how it looks like.

    https://www.henneth-annun.ru/test/ha_menu.jpg

    Thanks for the tip with the Styles.css! I’ll check it out.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Could you post a screenshot to your Custom Menu settings, so I can better understand the issue?

    Thanks!

    Thread Starter TheHutt

    (@thehutt)

    Why yes, I can. Here it is (though it’s in Russian). The live version of the menu can be seen on the main site henneth-annun.ru (non-mobile).

    https://www.henneth-annun.ru/test/ha_menu1.jpg

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    What happens when you fill in the “Secondary Navigation” theme location, on the left hand side of that page?

    Thread Starter TheHutt

    (@thehutt)

    Now that’s interesting. If I fill out the Secondary menu, it is in fact loaded in the mobile theme. However, on the normal site, I have both the Primary and the Secondary menu displayed which is not what I want.

    Thread Starter TheHutt

    (@thehutt)

    Okay, I solved the issue by the following:

    – Defining both Primary and Secondary menu on my main theme (set to the same menu);
    – Setting the secondary menu to invisible on my main theme;
    – Now the Primary menu is displayed on my main theme and the Secondary menu is displayed on my Mobile theme; however, as they set to display the same menu, it does the trick.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Jetpack mobile theme: Page list instead of main menu’ is closed to new replies.