- This topic has 15 replies, 3 voices, and was last updated 7 years, 3 months ago by Tom.
-
AuthorPosts
-
January 4, 2017 at 2:43 pm #260749Farokh
Hi, Tom
My desktop menu is perfect, but my Mobile menu is on the left side.
I need the mobile menu also on the right
Can you help with some css to add to the child theme?
Thank you
January 4, 2017 at 3:00 pm #260752FarokhAlso sticky mobile menu label floats to left.
Before scrolling down it is in the center
January 4, 2017 at 7:07 pm #260778LeoStaffCustomer SupportHi Farokh,
Are you wanting the mobile navigation to slide out from the right? If this post should work: https://generatepress.com/forums/topic/reverse-flip-position-of-slideout-menu-right/#post-175356
As for repositioning the mobile menu icon, are you using the mobile header feature or just logo+sticky?
Let us know.
January 4, 2017 at 9:49 pm #260791TomLead DeveloperLead DeveloperI think he means the actual mobile menu button.
What version of GP Premium are you using? Everything should be RTL compatible.
January 5, 2017 at 1:42 am #260838FarokhI am using the latest version.
I am not using the rtl.css
I just used some css you provided to have just the menu in rtltwo issues now:
1. MOBILE menu items float to left
2. The actual mobile menu button floats to left when you scroll down, otherwise in is in the centerJanuary 5, 2017 at 9:29 am #260953TomLead DeveloperLead DeveloperCan you link me to your site so I can give you some CSS?
January 5, 2017 at 9:35 am #260956FarokhJanuary 5, 2017 at 10:18 am #260974TomLead DeveloperLead DeveloperTry this:
button.menu-toggle { text-align: right; float: none !important; }
January 5, 2017 at 12:34 pm #261029FarokhONE issue solved, thanks π
Now the second issue is when you click the Mobile menu button, the items float to left
January 5, 2017 at 9:35 pm #261129TomLead DeveloperLead DeveloperHere you go:
@media (max-width: 768px) { .main-navigation li { text-align: right !important; } }
Out of curiosity, why not use a RTL language?
January 6, 2017 at 7:32 am #261268FarokhThanks it worked, like always π
Good question!
I use Learn Dash plugin to teach some online university courses in English language, and If I change WP language to Persian(RTL), LD functionality will be affected, since it follows the language of WP.Furthermore, Elementor will also follow WP language.
So I thought because my plugin and page builder are LTR, maybe it’s a good idea to have the theme also in LTR, and where necessary, I could use some customization (like right now).But, I’m not entirely sure if I’m doing the right thing. Maybe I could leave WP language in English along with LD and Elementor, but change GP to RTL (because the user interface is mainly in Persian. But I’m not sure.
What do you think!? Any Suggestions?
January 6, 2017 at 9:10 am #261304TomLead DeveloperLead DeveloperYou could possibly just copy everything from the rtl.css file in GP and add it to your stylesheet? That might make things a bit easier?
Glad I could help π
January 6, 2017 at 9:15 am #261311FarokhThen GP would be RTL, but WP, Elementor, and Learn Dash are still LTR.
Possibly, there is no conflict between them, is that right!?
January 6, 2017 at 9:19 am #261313TomLead DeveloperLead DeveloperPossibly, you can always remove the CSS if it causes conflicts and keep going with what you have π
January 6, 2017 at 10:07 am #261335FarokhHelpful like always
Thanks Tom π -
AuthorPosts
- You must be logged in to reply to this topic.