Tagged: x
-
AuthorPosts
-
August 5, 2016 at 1:06 am #1118501
Hi Paul, that worked – but they don’t quite seem centre.
Also is there a way to set them say 75% down the navbar rather than right below the Navbar links?
Sorry to be a pain – I have a very picky client
August 5, 2016 at 2:29 am #1118561Hi there,
Seem we posted two different solution at a time. Did you try my earlier solution? You can change the values to adjust more if needed (for both of the solutions).
Further customizations from here would be getting into custom development, which is outside the scope of support we can offer. If you need more in depth changes, you may wish to consult with a developer. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding.
August 14, 2016 at 11:39 pm #1131365Hey guys,
Sorry to bring this thread up again, but I’ve now moved the website from my dev server to live server so the menu item IDs have changed. Could someone let me know where I can find the menu item numbers so I can update the code below?
.x-navbar .desktop .x-nav > li.menu-item-270 > a > span,
.x-navbar .desktop .x-nav > li.menu-item-271 > a > span,
.x-navbar .desktop .x-nav > li.menu-item-272 > a > span,
.x-navbar .desktop .x-nav > li.x-menu-item-search > a > span {
border:0;
width:auto;
font-size:25px;
}.x-navbar .desktop .x-nav > li.menu-item-270,
.x-navbar .desktop .x-nav > li.menu-item-271,
.x-navbar .desktop .x-nav > li.menu-item-272,
.x-navbar .desktop .x-nav > li.x-menu-item-search {
display:inline-block;
}.x-navbar #menu-sporting-edge {
text-align:center;
}August 14, 2016 at 11:39 pm #1131366This reply has been marked as private.August 15, 2016 at 12:22 am #1131392Hello There,
Thanks for the updates! You can simply update the custom css by updating the menu item ID. To find the menu item ID, please right click on the page on your site and select “inspect element” and scroll down until you find code like this.
You can also go to Appearance > Menus and hover your mouse pointer over the Remove or Cancel link for each menu item.<br>
Hope this helps. Please let us know how it goes.
August 15, 2016 at 12:28 am #1131402Awesome, that worked. Thanks!!!
August 15, 2016 at 12:41 am #1131418You’re welcome!
August 18, 2016 at 9:27 pm #1137850Hey guys, just wondering if its possible to have the same effect on mobiles/tablets? Currently the social icons are still in boxes like the rest of the social icons. Website is live now: http://sportingedge.co.nz/
August 19, 2016 at 12:50 am #1137973Hi,
Yes, it’s possible.
You can add this under Custom > Edit Global CSS in the Customizer.
.x-navbar .mobile .x-nav li.menu-item-270>a, .x-navbar .mobile .x-nav li.menu-item-271>a, .x-navbar .mobile .x-nav li.menu-item-272>a { border:0; } .x-navbar .mobile .x-nav li.menu-item-270, .x-navbar .mobile .x-nav li.menu-item-271, .x-navbar .mobile .x-nav li.menu-item-272 { display:inline-block; } .x-navbar .mobile .x-nav { text-align: center; } .x-navbar .mobile .x-nav li>a { text-align: left; }
Hope that helps.
-
AuthorPosts