Tagged: x
-
AuthorPosts
-
November 30, 2016 at 11:34 pm #1277020
cmdevParticipantPlease view the page below on Mobile.
The code that you had sent me to style the tabs seems to be preventing the tabs from working correctly on mobile.
they currently are only appearing at half of the mobile browser. How do you correct this?November 30, 2016 at 11:37 pm #1277022
RupokMemberHi there,
Would you clarify which code you are referring? Can you point the thread? Also let us know how you want this on mobile.
Cheers!
December 1, 2016 at 8:30 am #1277423
cmdevParticipantHere is my code that was provided for styling the tab width
.x-nav-tabs.left, .x-nav-tabs.right {
width: 35% !important;
background-color: #FFFFFF;
max-width: 500px !important;
}
What I want it do on mobile is attached.I’d like the tabs to expand down on mobile.
December 1, 2016 at 9:10 am #1277474
RupokMemberHi there,
Thanks for writing back. You can add the code inside a media query so it won’t interfere with mobile view :
@media only screen and (min-width: 768px) { .x-nav-tabs.left, .x-nav-tabs.right { width: 35% !important; background-color: #FFFFFF; max-width: 500px !important; } }Hope this helps.
December 1, 2016 at 10:07 am #1277554
cmdevParticipantCan that be added globally?
December 1, 2016 at 10:10 am #1277558
cmdevParticipantThis did not seem to work.
December 1, 2016 at 11:04 am #1277605
RupokMemberHi there,
Your code will be applied for dekstop only and won’t affect the mobile view. That’s exactly what the code will do. You need to replace your code with the code I have suggested. Let me know what’s exactly not working.
Thanks!
December 1, 2016 at 11:43 am #1277656
cmdevParticipantI see.
When i add your code the tabs still are only half-page on mobile screen. See attached.I need them to be full width of the container. See 2nd attached photo.
December 1, 2016 at 5:59 pm #1278082
RadModeratorHi there,
Please add this as well,
@media (max-width: 767px){ .x-nav-tabs.left, .x-nav-tabs.right { width: 100% !important; max-width: 100% !important; } }Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1277020 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
