Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Mobile website not responding
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Mobile website not responding
- This topic has 33 replies, 5 voices, and was last updated 10 years by Mohammad – SUPPORT.
-
Posted in: Neighborhood
-
August 1, 2014 at 9:18 am #96730
Hello Kyle,
I have a problem with the website showing on a mobile device (iPhone).
Recently we removed the black box (Add to shopping bag button) from the products. This works fine for the website in a normal computer but in a mobile device I still see the black bar on the product photo.Do you know how is possible to remove it also from iPhone device?
Thx
August 1, 2014 at 9:21 am #96735Hi
Please could you provide your link so I can check?
– Kyle
August 1, 2014 at 9:39 am #96749August 1, 2014 at 9:51 am #96759Add this to your custom css:
.shop-actions { display: none; }
– Kyle
August 1, 2014 at 11:20 am #96819Hi Kyle,
I have this code already. It works for the website on a computer but in iphone device, I still see the black box. Or in the computer when I give a zoom 200% for example the black box appear again.
THX
August 1, 2014 at 11:25 am #96826Just checked your custom css and you’ve put it inside a media query?
@media only screen and (min-width: 480px) { .search-results .blog-items.standard-items .blog-item figure { width: 50%; } .shop-actions { display: none; }
With a min width of 480px, that’s why it shows on mobile. You need to take it out of the media query
– Kyle
August 1, 2014 at 11:32 am #96827HEllo Kyle,
Yes I have this code on the custom css.
What do I need to do?
Remove the whole code?Sorry I did not understand what needs to be done?
August 1, 2014 at 11:39 am #96828This:
@media only screen and (min-width: 480px) {
is an opening line of a media query, it is closed using a
}
anything within these 2 lines are only applied above or below the screen size that is stated, in your case anything above 480px.
I’m not sure why you have this code, someone has obviously provided it to you in the past. For now just add a closing tag after the search results css, so:
@media only screen and (min-width: 480px) { .search-results .blog-items.standard-items .blog-item figure { width: 50%; } }
Hope I have explained well
– Kyle
August 1, 2014 at 12:00 pm #96831HEllo Kyle,
This is what I have done:
I took out this code:@media only screen and (min-width: 480px) {
.search-results .blog-items.standard-items .blog-item figure {
width: 50%;
}And I left only this code:
.shop-actions {
display: none;
}The black box is out from the computer and mobile but on the mobile I can still see part of the second image. The second image that roll over.
HAve I done anything wrong? With the codes?
THX
August 1, 2014 at 12:03 pm #96832File is attched
Attachments:
You must be logged in to view attached files.August 1, 2014 at 12:16 pm #96835August 1, 2014 at 1:57 pm #96859Hello Kyle,
Before I follow those steps I noticed that there is a problem with the picture of a product in the mobile device. It becomes very small.
I have the following custom css:
@media only screen and (min-width: 480px) {
.search-results .blog-items.standard-items .blog-item figure {
width: 50%;
}
}
.shop-actions {
display: none;
}The black box is gonne but in the single page product the image become much smaller and also the description too.
I noticed that the Leave Feedback is still on the mobile device. I used a customs css to remove this but on iphone stills showing.THX
August 1, 2014 at 2:29 pm #96864Please can you screenshot what you are referring to with the product picture and description? Views fine for me on mobile
For the leave feedback, likely that you’ve got that in a media query as well
– Kyle
August 1, 2014 at 2:42 pm #96870here it is
Attachments:
You must be logged in to view attached files.August 1, 2014 at 2:49 pm #96873Kyle,
When I use this code:
@media only screen and (min-width: 480px) {
.search-results .blog-items.standard-items .blog-item figure {
width: 50%;
}
}
.shop-actions {
display: none;
}The black box goes away on the mobile device but then in the product single page, the picture and information are not fine.
If I remove this (}) from the code and include the shop actions in the query, then the picture and information is fine but the black box comes back again.
-
Posted in: Neighborhood
You must be logged in and have valid license to reply to this topic.