Site logo

[Support request] Off Canvas Menu clubbing two menu items on one line

Home Forums Support [Support request] Off Canvas Menu clubbing two menu items on one line

Home Forums Support Off Canvas Menu clubbing two menu items on one line

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1961311
    Kapil

    There are two issues:

    1. On the off canvas menu – two menu items are put together on the same line.

    2. On the Secondary menu when seem on mobile – The Menu Name is shown on the right and the menu list items on the right. And this makes the menu not very easy to use for the users.

    #1961312
    Kapil

    Thanks

    #1961318
    Leo
    Staff
    Customer Support

    Hi there,

    Can you disable the LightSpeed cache so we can view the source code better?

    Thanks.

    #1961332
    Kapil

    Lightspeed disabled Thanks Leo!

    #1961340
    Ying
    Staff
    Customer Support

    Hi Kapil,

    I can still see the cache plugin is on.

    Can you confirm?

    #1961342
    Kapil

    try now

    #1961349
    Ying
    Staff
    Customer Support

    Give this CSS a try:

    #generate-slideout-menu .menu-off-canvas-container #menu-off-canvas.menu > li.menu-item {
        display: block;
    }
    #1961361
    Kapil

    Hi Ying Thanks the no#1 problem is resolved.

    Can you also provide me solution for #2 issue

    #1961371
    Ying
    Staff
    Customer Support

    Let’s go back to No.1, the CSS should not be needed.

    Can you make sure you are using the latest GP theme and GP Premium plugin version?
    https://docs.generatepress.com/article/generatepress-and-gp-premium/

    And have you considered assigning the menu to off canvas panel instead of using navigation widget?
    https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#setting-a-theme-location

    Let me know 🙂

    #1961399
    Kapil

    I used the CSS you gave me to fix the isse#1

    #1961406
    Ying
    Staff
    Customer Support

    So you want the secondary navigation to go vertically?

    If so, try this CSS:

    .secondary-navigation.toggled .inside-navigation {
        flex-direction: column;
    }
    #1961409
    Kapil

    Ming you are the best! All Solved! Big thanks

    #1961416
    Leo
    Staff
    Customer Support

    I would recommend trying Ying’s new solution for #1 here:
    https://generatepress.com/forums/topic/off-canvas-menu-clubbing-two-menu-items-on-one-line/#post-1961371

    That way you don’t need to add any CSS and would allow other customizer controls for the off canvas panel to work.

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.