Tagged: x
-
AuthorPosts
-
March 20, 2017 at 10:36 am #1413772
I am trying to align just my menu items to the left instead of default which is centered. Leaving my logo the way it is. The codes that i find on the KB articles does not seem to pertain to what i am trying to do.
March 20, 2017 at 10:37 am #1413777This reply has been marked as private.March 20, 2017 at 12:11 pm #1413915Hi There,
Please try adding the following CSS:
.x-navbar .desktop .x-nav > li > a, .x-navbar .desktop .x-nav > li > a > span { padding-left: 0; padding-right: 0; } .x-navbar .desktop .x-nav > li > a > span { padding-left: 10px; }
Hope it helps 🙂
March 20, 2017 at 12:43 pm #1413960hi. the code didnt do anything that i could notice.
March 20, 2017 at 2:18 pm #1414075Hi there,
Please try this code instead:
.x-navbar .desktop .x-nav > li > a, .x-navbar .desktop .x-nav > li > a > span { text-align: right; }
Hope this helps.
March 20, 2017 at 2:20 pm #1414077Hi
That didnt make a change either. Didnt work.
March 21, 2017 at 4:07 am #1414694Hi There,
Add this custom CSS instead.
@media (min-width: 980px) { .x-navbar .desktop .x-nav > li > a { padding-left: 0; text-align: left; } }
Make sure to clear your browser’s cache before previewing the page.
Thanks.
March 21, 2017 at 10:05 am #1415014This code worked great! Thanks again!
March 21, 2017 at 10:57 am #1415120Glad it worked for you.
If you have any further queries regarding the theme, feel free to ask us. We’d be happy to assist you with anything.
Thanks for choosing the X-theme. 🙂
-
AuthorPosts