Tagged: x
-
AuthorPosts
-
May 27, 2016 at 4:03 am #1012662
dogpileParticipantHi there,
I am trying to get the Logo of my Site on the right side of the menu. My menu is set on maximal width because of the ubermenu fullwidth submenus and I like to keep this style. So the container is styled with:
@media screen and (min-width: 800px){
.x-navbar .x-container.max.width {
max-width: 100%;
width: 100%;
}
.x-navbar .x-brand {
margin-top: 13px;
margin-left: 20px;
}
}
Second question is, that I am not able to hide the Submenu items of the the top Menu item “Kontakt”. On mobile screen there shouldn’t be the submenus of the maps and form. How can I do this?The website is: http://podev.praxis-dienstleister.de/
Thanks for your help.
May 27, 2016 at 5:44 am #1012756
Paul RModeratorHi,
You can try this code instead.
@media (min-width: 979px) { .x-navbar .x-brand { right: 20px; position: absolute; top: 5px; margin: 0; } } @media (max-width: 979px) { .x-navbar .menu-item-250 .ubermenu-submenu.ubermenu-submenu-id-250 { display:none !important; } }Hope that helps.
May 27, 2016 at 6:03 am #1012772
dogpileParticipantHey Paul thanks for your quick response.
Your code for x brand works perfect.But if I insert your mobile hiding CSS nothing happens…
May 27, 2016 at 8:14 am #1012894
Paul RModeratorHi,
You can try this code.
@media (max-width: 979px) { .x-navbar .menu-item-250 .ubermenu-submenu.ubermenu-submenu-id-250, .x-nav-wrap.mobile li.menu-item-250 .sub-menu, .x-nav-wrap.mobile .ubermenu-submenu-id-250 { display:none !important; } }Hope that helps
May 27, 2016 at 9:06 am #1012969
dogpileParticipantThank you. This works.
May 27, 2016 at 11:23 am #1013147
JoaoModeratorGreat to hear it.
Let us know if you need help with anything else.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1012662 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
