Tagged: x
-
AuthorPosts
-
November 28, 2016 at 9:38 pm #1274084
jessie lParticipanti want my sub menu and child sub menu to be align in the right
i tried adding css code
float: right !important; but none are working.
i see it works on inspect element but when applied to the site nothing happen.see screenshots. that is what i want to happen
November 28, 2016 at 11:47 pm #1274170
Prasant RaiModeratorHello Jessie,
Thanks for writing in!
You can add this under Custom > CSS in the Customizer:
.desktop ul.sub-menu { left: 20px !important; }Thanks.
November 29, 2016 at 1:04 am #1274235
jessie lParticipantThis reply has been marked as private.November 29, 2016 at 1:18 am #1274247
RupokMemberHi there,
Perhaps we didn’t get you properly. Would you clarify with a screenshot that what you exactly referring by right align? Do you want to align the text or whole submenu? A screenshot would help I guess.
November 29, 2016 at 1:45 am #1274271
jessie lParticipanti want to align the whole sub menu in the right
November 29, 2016 at 1:53 am #1274279
RupokMemberHi there,
Thanks for writing back. Let’s add this CSS :
.desktop .sub-menu { left: 0 !important; } .desktop .sub-menu .sub-menu { left: 100% !important; }Hope this helps.
November 29, 2016 at 1:56 am #1274280
jessie lParticipantdid you try this out? because this still not work for me 🙁
November 29, 2016 at 2:03 am #1274287
RupokMemberHi there,
I have tested the code on your site so it should work fine. I guess your previous code has some issue, perhaps not closed properly. Make sure to close them properly.
Thanks!
November 29, 2016 at 2:04 am #1274288
FriechModeratorHi There,
I just check Rupok’s code and that did work, it did move the child sub-menu to the right.
Here’s the code to text-align the sub menu items to the right.
.desktop .sub-menu li>a { text-align: right; }Add the code on top of your Custom CSS, then check your entire custom CSS here: http://csslint.net/ to see what the issue.
Thanks.
November 29, 2016 at 2:18 am #1274304
jessie lParticipanti guess you are right. there is a conflict on my old css code. i remove all the css code and put your code and it’s working.
thanks man. really appreciated 🙂November 29, 2016 at 2:28 am #1274307
Paul RModeratorYou’re welcome! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1274084 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
