[Resolved] main navigation rtl order

Home Forums Support [Resolved] main navigation rtl order

Home Forums Support main navigation rtl order

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #318648
    Ali

    Hi,
    I have started a website here:
    http://kavianionline.com

    The problem is the order of menu items is LTR.
    For example my homepage is not on the right side of menu. It is on the left side (which is rtl)

    I have temporarily have changed the order from last to first to fix this probem.
    The other thing is the direction of sub-menu items. Now the sub-menu items are LTR too.

    Thanks for help.

    #318724
    Tom
    Lead Developer
    Lead Developer

    Are you using a child theme by chance?

    #318845
    Ali

    Yes, I am ๐Ÿ™‚

    #318907
    Tom
    Lead Developer
    Lead Developer

    You might need to add a function like this:

    add_action( 'wp_enqueue_scripts', 'generate_child_rtl_scripts' );
    function generate_child_rtl_scripts() {
        wp_enqueue_style( 'generate-rtl', get_template_directory_uri() . "/rtl.css", false, GENERATE_VERSION, 'all' );
    }
    #319065
    Ali

    Thanks a lot !

    #319162
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

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