Tagged: x
-
AuthorPosts
-
June 8, 2016 at 1:14 pm #1032396
squeezaParticipantHi
URL: http://www.dualvisual.com/snow-dev
WordPress version: 4.5.2
X version: 4.5.2
Cornerstone plugin version: 1.2.4I’m having an issue with the Responsive dropdown menu display.
On the regular non-responsive view the menu displays as I want it, aligned right. But with the responsive view, I wish to have the menu aligned left. Another issue is the ‘double down arrow’ icon seems to be on top of the title ‘ Bone Health MBP, (-see screenshot attached) but I assume this will fix itself when the responsive menu is aligned left.
So my question is how to align the menu left on the responsive menu only.
I tried adding the code to the custom global css but @media part didn’t work.
.x-navbar .x-nav > li > a {
text-align: right !important;
}
.x-navbar-fixed-left .x-brand {
text-align: right;
}
@media (max-width: 979px) .x-navbar .x-nav > li > a {
text-align: left !important;
}
@media (max-width: 979px) .x-navbar-fixed-left .x-brand {
text-align: left;
}thanks
LizaJune 8, 2016 at 6:44 pm #1032819
JadeModeratorHi Liza,
Your CSS isn’t working because of the missing { in the media queries. Try using this:
.x-navbar .x-nav > li > a { text-align: right !important; } .x-navbar-fixed-left .x-brand { text-align: right; } @media (max-width: 979px) { .x-navbar-fixed-left .x-brand, .x-navbar .x-nav > li > a { text-align: left !important; } }Hope this helps.
June 13, 2016 at 1:58 am #1039119
squeezaParticipantthank you!
June 13, 2016 at 2:35 am #1039149
RupokMemberYou are welcome!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1032396 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
