Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Mobile Menu Alignment & RTL Text on Mobile/Tablet

  • Hello GeneratePress Support Team,

    I’m using GeneratePress + Generateblocks on a site with RTL content, and I’m trying to achieve the following **only on mobile and tablet** (desktop should remain unchanged):

    1. Header layout on mobile & tablet

    * Logo aligned to the left
    * Mobile menu (hamburger icon) aligned to the right

    2. Mobile menu text direction (RTL)

    * When opening the mobile menu, the menu text should be RTL, meaning:

    * Text aligned to the right
    * Menu items starting from the right side instead of left

    Currently, the mobile menu layout and/or text direction do not fully respect RTL behavior.

    Could you please advise:

    * Whether this can be achieved using GeneratePress settings alone, or
    * If custom CSS/hooks are required, what the recommended approach would be (ideally scoped to mobile & tablet only)?

    images:
    https://postimg.cc/gallery/drQ0FnV

    Thanks in advance for your help.

    Best regards,
    Nave

  • Hi Nave,

    Can you link us to the site? Let me know 🙂

  • Hi Ying,
    I’ve added in the private information, I will also need to whitelist your IP address so you’ll be able to see the content.
    Thanks!

  • Hi Nave,

    Try adding this CSS:

    @media (max-width: 1024px) {
        .rtl {
            #generate-slideout-menu .slideout-menu li {
                text-align: right;
            }
    
            .slideout-navigation button.slideout-exit {
                display: flex;
            }
    
            #mobile-header .inside-navigation {
                flex-direction: row-reverse;
            }
        }
    }
  • It worked amazingly, thank you!

  • You’re welcome!

  • Hey there,
    One more questions please, in the desktop version how do I make sure the menu is centered, the logo is on the right side and the button is on the left side?
    Image:
    https://i.postimg.cc/7PnLXN16/Screenshot-2026-01-01-165906.png
    Thanks in advance!

  • Sure, try adding this CSS:

    .rtl.nav-float-left #site-navigation {
        width: 100%;
    }
    
    .rtl #primary-menu {
        margin-inline: auto;
    }
  • Worked like a charm, thanks!

  • No problem!

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