MOBILE VERSION (SCROLL)
Rate this topic: 1.00 out of 6 based on 1 vote(s)
- GK User
- Mon Dec 21, 2015 8:39 pm
- Reply with quote
- Report this post
From the phone, the shopping cart table does not show the entire cart and customers need to scroll to see what's in their cart... etc.. Is there any way to make this table show 100% rather than the scroll feature. It definitely takes away from the beauty of the site. I chose to go into the mobile.css file and noticed that the width is set at 100% but scrolls anyways. Please advise
http://www.Pinkchella.com
http://www.Pinkchella.com
-
- Gold Boarder
- teitbite
- Thu Dec 24, 2015 1:52 pm
- Reply with quote
- Report this post
Hi
This is a standard solution used for tables nowadays and it's provided by Virtuemart directly. The only solution I can think of is to remove some of the columns, so it may fix to the mobile screen width.
the above example will remove column 4th, You may try to remove some more too.
This is a standard solution used for tables nowadays and it's provided by Virtuemart directly. The only solution I can think of is to remove some of the columns, so it may fix to the mobile screen width.
- Code: Select all
@media only screen and (max-width:686px) {
.cart-summary > tbody > tr > th:nth-child(4),
.cart-summary > tbody > tr > td:nth-child(4) {
display: none;
}
}
the above example will remove column 4th, You may try to remove some more too.
-
- Moderator
- GK User
- Fri Dec 25, 2015 11:41 pm
- Reply with quote
- Report this post
teitbite wrote:Hi
This is a standard solution used for tables nowadays and it's provided by Virtuemart directly. The only solution I can think of is to remove some of the columns, so it may fix to the mobile screen width.
- Code: Select all
@media only screen and (max-width:686px) {
.cart-summary > tbody > tr > th:nth-child(4),
.cart-summary > tbody > tr > td:nth-child(4) {
display: none;
}
}
the above example will remove column 4th, You may try to remove some more too.
where does this go?
-
- Gold Boarder
- teitbite
- Sun Dec 27, 2015 8:11 pm
- Reply with quote
- Report this post
Hi
This is just an example how to remove 4th column in cart on mobile. You can add more to reduce the space taken by it. Best file will be override.css but make sure override is enabled in template settings.
This is just an example how to remove 4th column in cart on mobile. You can add more to reduce the space taken by it. Best file will be override.css but make sure override is enabled in template settings.
-
- Moderator
- GK User
- Tue Dec 29, 2015 5:18 pm
- Reply with quote
- Report this post
teitbite wrote:Hi
This is just an example how to remove 4th column in cart on mobile. You can add more to reduce the space taken by it. Best file will be override.css but make sure override is enabled in template settings.
Did not change the table. I added this to override.css and enabled overrides in template manager.
-
- Gold Boarder
- teitbite
- Thu Dec 31, 2015 2:35 pm
- Reply with quote
- Report this post
Hi
What device was this screenshot made with ? I cannot reproduce this partial display on any of my devices.
Anyway try using this code:
What device was this screenshot made with ? I cannot reproduce this partial display on any of my devices.
Anyway try using this code:
- Code: Select all
@media only screen and (max-width:600px) {
#gkMainbody table::before {
display: none;
}
#gkMainbody fieldset {
width: 100% !Important;
}
}
-
- Moderator
- GK User
- Thu Dec 31, 2015 3:19 pm
- Reply with quote
- Report this post
teitbite wrote:Hi
What device was this screenshot made with ? I cannot reproduce this partial display on any of my devices.
Anyway try using this code:
- Code: Select all
@media only screen and (max-width:600px) {
#gkMainbody table::before {
display: none;
}
#gkMainbody fieldset {
width: 100% !Important;
}
}
iPhone 6s Plus
-
- Gold Boarder
- GK User
- Thu Dec 31, 2015 4:35 pm
- Reply with quote
- Report this post
teitbite wrote:Hi
What device was this screenshot made with ? I cannot reproduce this partial display on any of my devices.
Anyway try using this code:
- Code: Select all
@media only screen and (max-width:600px) {
#gkMainbody table::before {
display: none;
}
#gkMainbody fieldset {
width: 100% !Important;
}
}
This worked perfectly! I don't know you, but I love you !!!!
-
- Gold Boarder
- teitbite
- Sat Jan 02, 2016 2:22 pm
- Reply with quote
- Report this post
Hi
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
-
- Moderator
9 posts
• Page 1 of 1