
-
AuthorPosts
-
May 23, 2018 at 6:59 am #960662
Hi,
How can i set the topbar info (phone no. & language selector) all to be aligned to right? For desktop ver, the language selector now at the left side. And for mobile, both are centered.
Thanks.
May 23, 2018 at 11:17 am #960743Hey jeffwcy,
Try this code in the General Styling > Quick CSS field:@media only screen and (min-width: 1023px) { .sub_menu { float: right !important; } } @media only screen and (min-width: 767px) and (max-width: 1023px) { .sub_menu { margin-left: 45% !important; } }
Best regards,
MikeMay 23, 2018 at 2:57 pm #960834Hi Mike,
It works a half, the desktop ver is ok but for mobile ver, the info is still centered.
How can i put all info to top right for mobile?Thanks.
-
This reply was modified 7 years, 1 month ago by
jeffwcy.
May 24, 2018 at 3:54 am #961317Hi,
Oh I see, you want both to the right all of the time, please remove the above code so we can try again.Best regards,
MikeMay 24, 2018 at 7:11 am #961355Hi Mike,
Yes ,please.
May 25, 2018 at 4:29 am #961940Hi,
Try this code in the General Styling > Quick CSS field:#top #header_meta .sub_menu { float: right !important; } @media only screen and (max-width: 767px) { .responsive #header .sub_menu { float: right !important; width: auto !important; text-align: right !important; position: static !important; } .responsive #header_meta .sub_menu>ul>li { padding: 0px !important; } } @media only screen and (max-width: 989px) { .responsive.html_mobile_menu_tablet .phone-info { width: 90% !important; text-align: right !important; position: absolute !important; } } @media only screen and (max-width: 546px) { .responsive.html_mobile_menu_tablet .phone-info { width: 80% !important; } }
Best regards,
MikeMay 25, 2018 at 6:57 am #961960Thank you very much, Mike.
May 25, 2018 at 11:30 am #962030Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
And if there are features that you wish Enfold had, you can request them and vote the requested ones here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
Mike -
This reply was modified 7 years, 1 month ago by
-
AuthorPosts
- The topic ‘Topbar info alignment’ is closed to new replies.