Forums / Templates, Stylesheets, Page Layout / Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Sticky

Started by picaflor_azul on 16 Mar 2016, 11:30 PM · Views: 363,092

Results 1,021 to 1,040 of 1,106
6 Oct 2021, 9:01 PM
#1021
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
494
Plugin Contributions:
0

Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

I just noticed another issue on my TEST website, not sure what I did for this to happen as I can't see that display error on my live site?!
https://i.imgur.com/EVUxUS5.png
As you can see from the snapshot above, when I click the Show All Products link from the main page, the page doesn't display well (via desktop),
The products display weird, lots of spacing and not aligned with each other, boxes and pricing are not aligned and looks messy, also displays that way on new and featured products links.
The products should be displayed like the 2nd product in the snapshot, yet some like the 1st and 3rd products are not displaying well.
Any help would be appreciated?

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

11 Oct 2021, 3:27 AM
#1022
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
494
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Just bumping this up..as I can't seem to find the reason for this?
Any help would be greatly appreciated.

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

11 Oct 2021, 7:34 AM
#1023
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

rlexyd:

I just noticed another issue on my TEST website, not sure what I did for this to happen as I can't see that display error on my live site?!
https://i.imgur.com/EVUxUS5.png
As you can see from the snapshot above, when I click the Show All Products link from the main page, the page doesn't display well (via desktop),
The products display weird, lots of spacing and not aligned with each other, boxes and pricing are not aligned and looks messy, also displays that way on new and featured products links.
The products should be displayed like the 2nd product in the snapshot, yet some like the 1st and 3rd products are not displaying well.
Any help would be appreciated?

Add this to stylesheet.css (put it after .listing-left) and play around with the width:

.listing-right {
    width: ???%;
}

Simon

12 Oct 2021, 4:16 AM
#1024
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
494
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

simon1066:

Add this to stylesheet.css (put it after .listing-left) and play around with the width:

.listing-right { width: ???%; }


Woow, Thank you very much again Simon!!
That did the trick, would love to have your knowledge :)

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

12 Oct 2021, 9:04 AM
#1025
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

rlexyd:

Woow, Thank you very much again Simon!!
That did the trick, would love to have your knowledge :)

No problem. I couldn't have done it without the use of a browser's developer tools. A matter of inspecting the various elements in and around the problem area and seeing what might need to be tweaked/added. It's easy to experiment with different options if the answer isn't immediately obvious.

Simon

15 Oct 2021, 12:26 PM
#1026
richard7315 avatar

richard7315

New Zenner

Join Date:
Jul 2017
Location:
West Midlands, UK
Posts:
51
Plugin Contributions:
1

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

DrByte:

Hmmm ... it appears that all the desktop-based "mobile emulators" do show the CSS buttons in mobile mode, but some of the actual mobile devices are still rendering them shaped as lighter-colored pill buttons.

I imagine Anne has a quicker fix for that than I do.

Hi,
We are having the same issue with our site – the CSS buttons are correct when using mobile emulators (such as firefox or chrome devtools) but lighter coloured ‘pill’ style buttons are displaying on iphone/ipad.

I believe this issue is present in version 1.5.7c as well as 1.5.6 and 1.5.5.

The add to cart button seems to be affected on the product info page (but unaffected on the product listing).

Does anyone know of a fix for this bug? We are having trouble locating the code that causes this issue.

Any help would be much appreciated.
Many thanks

15 Oct 2021, 3:05 PM
#1027
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,892
Plugin Contributions:
20

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

I'm not finding a way to see this. I am currently using the Chrome extension found at https://chrome.google.com/webstore/detail/mobile-simulator-responsi/ckejmhbmlajgoklhgbapkiccekfoccmk?hl=en It even has the new iPhones.

Regardless of whether toggling the view in the Chrome inspect window or using the extension, it's best to clear the cache after starting either one.

Could you do a screen shot of the differences and post them here?

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

15 Oct 2021, 5:25 PM
#1028
richard7315 avatar

richard7315

New Zenner

Join Date:
Jul 2017
Location:
West Midlands, UK
Posts:
51
Plugin Contributions:
1

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Hi,
Thank you for your reply - I have attached some screenshots showing the issue. The desktop based mobile emulators seem to display correct CSS buttons. I can confirm that I have cleared the browser cache and this did not make a difference.

The issue can be seen when using actual mobile devices (I have tested with a new iphone SE, iphone X and ipad).

The light coloured pill style buttons appear on the product info page ‘add to cart’ (the page with the full product description) and the ‘search’ button in the mobile menu. This issue was mentioned in post #12.

I believe the buttons are styled by CSS – unfortunately I have been unable to find the code that is causing this issue.
If possible please could you check on a mobile device to see if you can replicate the issue.

Many thanks
Attachment 19763
Attachment 19762
Attachment 19764
Attachment 19765

15 Oct 2021, 8:07 PM
#1029
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
494
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

richard7315:

Hi,
Thank you for your reply - I have attached some screenshots showing the issue. The desktop based mobile emulators seem to display correct CSS buttons. I can confirm that I have cleared the browser cache and this did not make a difference.

The issue can be seen when using actual mobile devices (I have tested with a new iphone SE, iphone X and ipad).

The light coloured pill style buttons appear on the product info page ‘add to cart’ (the page with the full product description) and the ‘search’ button in the mobile menu. This issue was mentioned in post #12.

I believe the buttons are styled by CSS – unfortunately I have been unable to find the code that is causing this issue.
If possible please could you check on a mobile device to see if you can replicate the issue.

Many thanks

Hi Richard,

Try adding the following to your stylesheet.css, it worked for me.

input.submit_button, input.cssButtonHover { -webkit-appearance: none; }

https://www.zen-cart.com/showthread.php?219735-Responsive-Classic-%28built-in-to-Zen-Cart-v1-5-5%29-Support-Thread&p=1383119#post1383119

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

16 Oct 2021, 10:46 AM
#1030
richard7315 avatar

richard7315

New Zenner

Join Date:
Jul 2017
Location:
West Midlands, UK
Posts:
51
Plugin Contributions:
1

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Hi rlexyd
Thank you for your reply – I had missed the posts from you and janks regarding this issue. I have tried the suggested code and it seems to work perfectly.
Many thanks for your help – it is much appreciated. I have submitted a bug report so this will hopefully be fixed on future versions of Zen Cart.

28 Nov 2021, 9:10 PM
#1031
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

I just installed latest zc. I have categories in the horizontal header bar. But they don't appear in the responsive view. With my other site 1.5.7, the categories do appear in responsive view. Is this something that has changed in 157C? I really would like to have the categories appear across my repsonsive view. Most customers don't know how to use the drop down menu.

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

29 Nov 2021, 2:21 AM
#1032
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

So, I am not having this problem with my other 157C websites. Whatever the problem is, its not related to zc version. Anyone know why I am not seeing categories bar on my android or tablet?

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

29 Nov 2021, 5:12 AM
#1033
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Seriously? You know why they are missing, we had a conversation about this and you fixed it on at least one site... Category tabs are hidden on mobile
and nobody cares that you think it is a bug because you think everything is a bug that is not exactly as you want it out of the box.

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

29 Nov 2021, 12:28 PM
#1034
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

barco57:

Seriously? You know why they are missing, we had a conversation about this and you fixed it on at least one site... Category tabs are hidden on mobile
and nobody cares that you think it is a bug because you think everything is a bug that is not exactly as you want it out of the box.

I considered that a possibility. I'll have to find the solution. Is it in this thread? It is true though that half the people have no clue about drop down menus on cell phones. You're lucky if they can figure out its possible to scroll down. No point in showing these people, they never remember it 2 minutes after you show them.

I dont remember saying it was a bug in my most recent post.

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

29 Nov 2021, 12:51 PM
#1035
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

pixelpadre:

So, I am not having this problem with my other 157C websites. Whatever the problem is, its not related to zc version. Anyone know why I am not seeing categories bar on my android or tablet?

ok, so i just searched this thread and can't find it anywhere.

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

1 Feb 2022, 9:17 PM
#1036
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Header banner is obstructed by menu bar at least on my android.

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

5 Feb 2022, 5:17 PM
#1037
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
220
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

I am upgrading to v157c from v157. I copied these lines from the stylesheet.css in v157 to the stylesheet.css in v157c (inserted after line #100) but I am getting a big blank white space. The .jpg is in the includes/templates/responsive_classic/images/ folder and I can access it directly in my browser by itself just not on the site. Is it safe to list the url to the test site here on a public forum when it is in a folder on my current live site or did I give you enough info to help?

#logoWrapper {width:100%;
height:215px;
background-image:url('../includes/templates/responsive_classic/images/discount_printing_service_background.jpg');
background-repeat:no-repeat;
}

Best,
Goldbuckle

5 Feb 2022, 5:37 PM
#1038
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,892
Plugin Contributions:
20

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

GoldBuckle:

I am upgrading to v157c from v157. I copied these lines from the stylesheet.css in v157 to the stylesheet.css in v157c (inserted after line #100) but I am getting a big blank white space. The .jpg is in the includes/templates/responsive_classic/images/ folder and I can access it directly in my browser by itself just not on the site. Is it safe to list the url to the test site here on a public forum when it is in a folder on my current live site or did I give you enough info to help?

#logoWrapper {width:100%;
height:215px;
background-image:url('../includes/templates/responsive_classic/images/discount_printing_service_background.jpg');
background-repeat:no-repeat;
}I would first make sure the image is in the correct folder (I know... probably done already but.....)
Then, I would suspect the .. in the image link.
If you right-click on the space, does the inspect show the image when you hover over it? If not, the image is missing or the link is incorrect. Preceding could cause the code to not be processed.
IF all those fail, you may have messed up the preceding or following lines of code in the file.
It would be easier to diagnoase if we had a look.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

5 Feb 2022, 8:55 PM
#1039
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,892
Plugin Contributions:
20

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Several Problems

One . is the answer for what you were trying although that is not what is currently on your site. The link on your site looks in the yoursite.com main images folder. The image is actually in your template's images folder.

Might be something to discuss in 1.5.8 to make the template's images folder something like images_tpl to avoid confusion.

BTW. You can safely post a URL by using DOT like yoursiteDOTcom. SEs won't react to that and the forum helpers can get a look at the site.

Here's what should be there if doing what you wanted.

#logoWrapper {
width:100%;
height:215px;
background-image:url('[B].[/B]/includes/templates/responsive_classic/images/discount_printing_service_background.jpg');
background-repeat:no-repeat;
}

It would be much simpler with```
#logoWrapper {height:235px;}
#logo{background:url('./includes/templates/responsive_classic/images/discount_printing_service_background.jpg') no-repeat center;
}

***
The real problem is what happens on varying screen sizes including mobile phones.  With text in front of a background image, you must take into account what will happen as the image becomes responsive and the text does not.  As it is now, the "Going beyond..." text violates ADA/WCAG even without going to a smaller/mobile screen.  Just your DPS image and the text underneath does not work on a mobile phone.  The last line is lost.

Other problems include the use of the tagline div twice.  A div should not be used twice UNLESS they are on separate pages.  Here, you would need to change it to a class.  https://tinyurl.com/y9f2bjlp

There are a lot more adjustments to be made but your original premise is really not going to work without a set screen size.:no:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

5 Feb 2022, 10:04 PM
#1040
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
220
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

I think I understand what you are saying...thanks for breaking it down. Considering what you said regarding the responsive issue, do you have any ideas you could share as to how to accomplish what I am trying to do. The most important thing to me is to have the logo, hours and contact info prominently there to make it as easy as possible for someone to contact me via phone or email. Next most important is the file types and payment methods accepted. Before I created the background image and added the info there, in my opinion it looked to empty with just the logo on a desktop device. "As it is now, the "Going beyond..." text violates ADA/WCAG even without going to a smaller/mobile screen" How is this text in violation and how do I fix it so it is not in violation?

dbltoe:

Several Problems

One . is the answer for what you were trying although that is not what is currently on your site. The link on your site looks in the yoursite.com main images folder. The image is actually in your template's images folder.

Might be something to discuss in 1.5.8 to make the template's images folder something like images_tpl to avoid confusion.

BTW. You can safely post a URL by using DOT like yoursiteDOTcom. SEs won't react to that and the forum helpers can get a look at the site.

Here's what should be there if doing what you wanted.

#logoWrapper {
width:100%;
height:215px;
background-image:url('[B].[/B]/includes/templates/responsive_classic/images/discount_printing_service_background.jpg');
background-repeat:no-repeat;
}

> 
> It would be much simpler with```
#logoWrapper {height:235px;}
#logo{background:url('./includes/templates/responsive_classic/images/discount_printing_service_background.jpg') no-repeat center;
}
```***BUT....
> ***
> The real problem is what happens on varying screen sizes including mobile phones.  With text in front of a background image, you must take into account what will happen as the image becomes responsive and the text does not.  As it is now, the "Going beyond..." text violates ADA/WCAG even without going to a smaller/mobile screen.  Just your DPS image and the text underneath does not work on a mobile phone.  The last line is lost.
> 
> Other problems include the use of the tagline div twice.  A div should not be used twice UNLESS they are on separate pages.  Here, you would need to change it to a class.  https://tinyurl.com/y9f2bjlp
> 
> There are a lot more adjustments to be made but your original premise is really not going to work without a set screen size.:no:

Best,
Goldbuckle