Ask Question box not re-sizing for mobile

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Feb 04, 2016 2:09 am
Reply with quote
Report this post
Good afternoon, I have found when I'm on my mobile, the ask question form doesn't re-size for mobile?
http://www.ebonyboutique.co.nz

Also once the form is completed, you get sent to a confirmation page, but the "Close" Button does nothing?
screenshot.jpg


This all used to work, but since updating to newer Instyle version it's broken (note I have also updated Joomla, so that may be causing the issue..)
User avatar
Senior Boarder

GK User
Mon Feb 08, 2016 9:37 pm
Reply with quote
Report this post
Ok, found Virtuemart -> Configuration -> Templates -> Use Fancybox was unchecked. This has solved the second part with the message sent box not closing.

But on mobile the fancy box is still longer than the window, with no option to page down?
IMG_3439.PNG

This might be a Virtuemart issue more than a template?
User avatar
Senior Boarder

teitbite
Sat Feb 13, 2016 11:27 am
Reply with quote
Report this post
Hi

Please tell me the exact url to the page You have this problem with.
User avatar
Moderator

GK User
Sun Feb 14, 2016 9:07 am
Reply with quote
Report this post
User avatar
Senior Boarder

teitbite
Fri Feb 19, 2016 11:41 am
Reply with quote
Report this post
Hi

I've just checked Your site and the inner of the popup can be swiped with fingers. Unfortunately I have no recording app on my phone, so I'm showing it on resized screen.

Image
User avatar
Moderator

GK User
Fri Feb 19, 2016 6:43 pm
Reply with quote
Report this post
Thanks.

When I try it on my iPhone I can't swipe. It moves the page underneath not the pop up.
User avatar
Senior Boarder

teitbite
Wed Feb 24, 2016 10:53 am
Reply with quote
Report this post
Please add this code to override.css and make sure override is enabled in template settings.

Code: Select all
@media only screen and (max-width:767px) {
body.contentpane {
padding: 0;
}

body.contentpane .width30 {
    display: none;
}

body.contentpane .width70 {
    width: 100%;
}

body.contentpane h1 {
    font-size: 18px;
}
}
User avatar
Moderator

GK User
Thu Feb 25, 2016 8:03 am
Reply with quote
Report this post
Evening,
unfortunately that made no change to the ask question box.
it did however change the font type on mobile devices.
this is how is was before override
IMG_3482 (Custom).PNG

and this is it after override
IMG_3483 (Custom).PNG
User avatar
Senior Boarder

teitbite
Mon Feb 29, 2016 11:59 am
Reply with quote
Report this post
Hi

Remove this code than and send me an access to FTP.
User avatar
Moderator

teitbite
Tue Mar 08, 2016 9:20 pm
Reply with quote
Report this post
Hi

I've added this code to override.css to style it better, but unfortunatelly scrolling is still broken. I'm sending Your access to our programmers. Hopefully they will come up with solution.

Code: Select all
@media only screen and (max-width:479px) {
#fancybox-wrap {
    height: 94% !important;
    left: 5% !important;
    padding: 2%;
    position: fixed;
    right: 5% !important;
    top: 2% !important;
    width: auto !important;
}

#fancybox-wrap,
#fancybox-outer,
#fancybox-content,
#fancybox-content > div {
    min-width: auto !important;
}

#fancybox-content {
    -webkit-overflow-scrolling: touch;
    border: medium none !important;
    height: 96% !important;
    overflow-x: scroll;
    overflow-y: hidden;
    padding: 2%;
    width: 96% !important;
}

#fancybox-wrap .fancybox-bg {
    display: none;
}

#fancybox-frame {
    overflow: scroll !important;
}

body.contentpane .width70 {
    float: none !important;
    padding-bottom: 15px;
    width: 100%;
}

body.contentpane .width30 {
    float: none !important;
    padding-bottom: 15px;
    text-align: center;
    width: 100%;
}

body.contentpane .width30 .product-image {
    float: none;
    max-width: 100% !important;
}

body.contentpane td {
    display: block;
}

body.contentpane .floatright {
    float: none !important;
}

body.contentpane h1 {
    font-size: 16px;
}

body.contentpane h2 {
    font-size: 16px;
    line-height: 20px;
}

body.contentpane .formError {
    left: 55px !important;
}
}
User avatar
Moderator

GK User
Tue Mar 08, 2016 10:58 pm
Reply with quote
Report this post
Thanks!
User avatar
Senior Boarder

teitbite
Sat Mar 12, 2016 3:27 pm
Reply with quote
Report this post
Hi

Programmers has checked the issue, but I'm afraid there is no solution to that. Problem is in Safari implementation for iframe. Hopefully next iOS update will fix it.
User avatar
Moderator

GK User
Tue Mar 15, 2016 4:29 am
Reply with quote
Report this post
Ok Thanks for trying.
User avatar
Senior Boarder

GK User
Sun Mar 20, 2016 1:43 am
Reply with quote
Report this post
Hi, it seems with the playing around with the site, now the images on mobile are getting stretched.
IMG_3516 (Custom).PNG

This is a landscape image that is getting stretched to fill the screen.
User avatar
Senior Boarder

teitbite
Thu Mar 24, 2016 1:23 pm
Reply with quote
Report this post
Try add this to override.css

Code: Select all
@media only screen and (max-width:479px) {
#fancybox-img {
    height: auto;
}
}
User avatar
Moderator

GK User
Tue Mar 29, 2016 11:28 pm
Reply with quote
Report this post
Hi, that has made the image stay true, but the light box behind it is still stretching down to take up full screen.
IMG_3546.PNG
User avatar
Senior Boarder

teitbite
Mon Apr 04, 2016 9:07 am
Reply with quote
Report this post
Hi

Add this to override.css

Code: Select all
#fancybox-outer {
    height: auto !important;
}
User avatar
Moderator

GK User
Sun May 01, 2016 11:20 pm
Reply with quote
Report this post
Good morning,

I have been doing some researching on this, and have been told of two possible solutions, but I don't know if either will work with your template?
1. Using css to make the overlay scrollable using touch screen by fixing the body behind?
http://stackoverflow.com/questions/9280 ... -scrolling
2. Using Bootstrap to make the module perform correctly.
http://forum.virtuemart.net/index.php?topic=133177.0

Thoughts?
User avatar
Senior Boarder

teitbite
Tue May 03, 2016 11:13 am
Reply with quote
Report this post
Hi

Bootstrap is already included and the tip from point 1 is exactly what I've done with my code. My solution worked last time I've been working on a fix for it, but looks like it has been removed now.
User avatar
Moderator


cron