Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Make menu compatible with RTL sites #327

Open
tlartaud opened this issue Jul 31, 2019 · 3 comments
Open

Make menu compatible with RTL sites #327

tlartaud opened this issue Jul 31, 2019 · 3 comments

Comments

@tlartaud
Copy link
Contributor

Move .just-hide CSS to left on RTL sites and make sure JS is working for the menu.

@IgorIlgiyaev
Copy link

Made some workaround for RTL

.cuar-menu-container .nav-container .menu-plus {
left: 0 !important;
right: auto !important;
}
.cuar-menu-container .nav-container .just-hide{
opacity:1 !important;
}

@tlartaud
Copy link
Contributor Author

tlartaud commented Aug 1, 2019

Hi,

Thanks for the tip :)
However, be careful when using !important rules.

I suppose that WP add a rtl class to the body or html node that should be instead.

body.customer-area-active.rtl .cuar-css-wrapper .cuar-menu-container .nav-container .menu-plus {
left: 0;
right: auto;
}

If you're used to work with Git, do not hesitate to submit a Pull Request if you want to participate in the development.

Regards.

@IgorIlgiyaev
Copy link

IgorIlgiyaev commented Aug 1, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants