Home › Forums › WoodMart support forum › tabs displays like desktop in mobile mode
tabs displays like desktop in mobile mode
- This topic has 9 replies, 2 voices, and was last updated 4 weeks, 1 day ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
March 26, 2024 at 5:47 pm #552463
i26980999Participanttabs displays like desktop in mobile mode
March 27, 2024 at 10:46 am #552632
Aizaz Imtiaz AwanKeymasterHello,
Please try using the below Custom CSS code and paste it to Dashboard >> Theme Settings >> Custom CSS >> Custom CSS for mobile section:
.wd-nav-tabs[class*="wd-style-underline"] { display: flex !important; flex-direction: column !important; justify-content: flex-end !important; align-items: stretch; flex-wrap: nowrap; }
Best Regards.
March 27, 2024 at 1:44 pm #552732
i26980999ParticipantCan the content box be displayed on the right side like the desktop?
March 27, 2024 at 2:08 pm #552752
Aizaz Imtiaz AwanKeymasterHello,
Unfortunately, it is not possible. HTML structure does not allow solving it by custom CSS to make it look like a desktop. Try to use elementor tab widget for mobile:
https://ibb.co/Wn3CLJ1Best Regards.
March 27, 2024 at 2:11 pm #552753
i26980999ParticipantI can achieve this using this code. . Please help me see if there is anything that needs to be modified in this code.
@media (max-width: 768px) {
.wd-tabs.tabs-design-aside {
–wd-header-sp: .001px;
display: grid;
grid-template-columns: var(–wd-side-width, 300px) 1fr;
gap: 20px;
}
}March 27, 2024 at 3:56 pm #552778
Aizaz Imtiaz AwanKeymasterHello,
Your tabs page gives a 404 error. Can you please share the page url and share the wp logins details so i will further check on your site and give you a possible solution.
Best Regards.
March 27, 2024 at 11:36 pm #552889
i26980999ParticipantI used a set of codes to achieve this effect. Please help me see what is wrong with my code. This is a temporary website and the content can be modified at will.
@media (max-width: 768px) {
.wd-tabs.tabs-design-aside {
–wd-header-sp: .001px;
display: grid;
grid-template-columns: var(–wd-side-width, 300px) 1fr;
gap: 20px;}
.wd-nav-tabs {
flex-wrap: wrap;
white-space: nowrap;
justify-content: flex-start;
height: 300px;
}.wd-tab-content-wrapper {
height: 300px;
overflow-y: scroll;
}}
March 28, 2024 at 11:29 am #552976
Aizaz Imtiaz AwanKeymasterHello,
This code is working on your site. You can use it and change the value as per your requirements.
Best Regards.
March 28, 2024 at 12:03 pm #552994
i26980999ParticipantI don’t know much about CSS. Is there any part of the code I sent that needs to be optimized and modified to make it more stable?
March 28, 2024 at 3:06 pm #553092
Aizaz Imtiaz AwanKeymasterHello,
Now it is working fine. If you have any issues feel free to contact us.
Best Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register