Zen Cart Logo
Forums / Addon Templates / ZCA Bootstrap 4 Template [Support Thread]

ZCA Bootstrap 4 Template [Support Thread]

Views: 542,569

Results 981 to 1,000 of 1,686
9 May 2023, 9:51 PM
#981
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

ZCA Bootstrap 4 Template [Support Thread]

Not without a link to the site.

10 May 2023, 1:21 AM
#982
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,016
Plugin Contributions:
2

Re: ZCA Bootstrap 4 Template [Support Thread]

zamzom:

[ZC 1.5.8][Bootstrap 3.5.2]
Back-to-top button is sometimes covering important buttons.
This is may be more of a style question but is there a way to push this button towards outside the main block meanwhile reducing rest of the block size especially on desktop view?
Attachment 20287

Have you tried this?

In your css for the button insert clear:both (if clear:left or clear:right do not work)

https://www.w3schools.com/cssref/pr_class_clear.php

and/or apply margins eg margin-top:1em

https://www.w3schools.com/cssref/pr_margin-top.php

hope this helps

10 May 2023, 7:23 PM
#983
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

dw08gm:

Have you tried this?

In your css for the button insert clear:both (if clear:left or clear:right do not work)

https://www.w3schools.com/cssref/pr_class_clear.php

and/or apply margins eg margin-top:1em

https://www.w3schools.com/cssref/pr_margin-top.php

hope this helps
I *think *that this could be solved via a CSS z-index setting; I'll take a look (eventually).

10 May 2023, 8:17 PM
#984
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,685
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

As a suggestion, a template option to disable this button would be nice.

I have removed it from includes/templates/bootstrap/common/tpl_main_page.php on quite a few sites.

11 May 2023, 8:48 PM
#985
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
732
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

This would be more of a feature request, but is there an easy way to have the "Newsletter Subscribe" checkbox also featured on the checkout page?

It would be the same exact code as seen on the Account Creation page, I'd imagine.

Here's why. Since we have guest checkout, we want the opportunity to capture as many newsletter subscribers as possible. These are people who may not create an account, or perhaps may have forgotten that we offer a newsletter after they created their account.

By also displaying the "Subscribe to our Newsletter" box on the checkbox page, it gives us one more opportunity to increase our mailing list since there's more daily orders vs daily account creations.

Could you tell me what code to copy into which file in order to make that one of the boxes? It could look just like it does on the account creation page: https://i.postimg.cc/FHZHXvGH/Electricc-Touch-Dimensions.png

12 May 2023, 7:08 PM
#986
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

swguy:

As a suggestion, a template option to disable this button would be nice.

I have removed it from includes/templates/bootstrap/common/tpl_main_page.php on quite a few sites.

Jeff_Mash:

This would be more of a feature request, but is there an easy way to have the "Newsletter Subscribe" checkbox also featured on the checkout page?

It would be the same exact code as seen on the Account Creation page, I'd imagine.

Here's why. Since we have guest checkout, we want the opportunity to capture as many newsletter subscribers as possible. These are people who may not create an account, or perhaps may have forgotten that we offer a newsletter after they created their account.

By also displaying the "Subscribe to our Newsletter" box on the checkbox page, it gives us one more opportunity to increase our mailing list since there's more daily orders vs daily account creations.

Could you tell me what code to copy into which file in order to make that one of the boxes? It could look just like it does on the account creation page: https://i.postimg.cc/FHZHXvGH/Electricc-Touch-Dimensions.png
I've created GitHub issues to note these requests; they *should *be included in the next template release.

16 May 2023, 12:59 PM
#987
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Hi There,

Has anyone had any luck with webp images with bootstrap carousel, I've tried but no success.

Thanks in advance.

16 May 2023, 1:12 PM
#988
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

Using the carousel ... how? I can't think of a reason why that image type wouldn't work.

16 May 2023, 1:32 PM
#989
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

my testing code is below

<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li> <li data-target="#carouselExampleIndicators" data-slide-to="1"></li> <li data-target="#carouselExampleIndicators" data-slide-to="2"></li> </ol> <div class="carousel-inner"> <div class="carousel-item active"> <img class="d-block w-100" src="images\banners\Toronto.webp" alt="First slide"> <div class="carousel-caption d-none d-md-block"> <h5>Toronto</h5> <p>Hello</p> </div> </div> <div class="carousel-item"> <img class="d-block w-100" src="images\banners\PRIME-Header.webp" alt="Second slide"> <div class="carousel-caption d-none d-md-block"> <h5>Fever-Tree</h5> <p>Mixers</p> </div> </div> <div class="carousel-item"> <img class="d-block w-100" src="images\banners\Essentia.webp" alt="Third slide"> <div class="carousel-caption d-none d-md-block"> <h5>Essentia</h5> <p>Water</p> </div> </div> </div> <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div>

the webp images not appear but if I use .jpg they do.

16 May 2023, 3:30 PM
#990
simon1066 avatar

simon1066

Totally Zenned

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

Re: ZCA Bootstrap 4 Template [Support Thread]

allmart:

Hi There,

Has anyone had any luck with webp images with bootstrap carousel, I've tried but no success.

Thanks in advance.

What version of Zencart?

Does the browser's dev tools give any clues? Perhaps under the Console or Network tabs.

16 May 2023, 4:45 PM
#991
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

simon1066:

What version of Zencart?

Does the browser's dev tools give any clues? Perhaps under the Console or Network tabs.

1.5.7d

no errors or clues in the dev tools

16 May 2023, 5:23 PM
#992
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

lat9:

Not without a link to the site.
test site:
https://www.allmart.ca/store/

16 May 2023, 6:42 PM
#993
simon1066 avatar

simon1066

Totally Zenned

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

Re: ZCA Bootstrap 4 Template [Support Thread]

allmart:

test site:
https://www.allmart.ca/store/

I don't have a solution to hand but carousel images show in Firefox, not in Chrome or Edge though.

16 May 2023, 7:00 PM
#994
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

It might be that Chrome's being more picky than Firefox about all those <script></script> and <style></style> elements sprinkled through the header and the slideshow.

The HTML validator (https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.allmart.ca%2Fstore%2F) has a bunch of 'bad' things to say!

16 May 2023, 7:23 PM
#995
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

simon1066:

I don't have a solution to hand but carousel images show in Firefox, not in Chrome or Edge though.

I just discovered that when using webp for any of my images on my test site, they don't appear.

16 May 2023, 9:51 PM
#996
dbltoe avatar

dbltoe

Totally Zenned

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

Re: ZCA Bootstrap 4 Template [Support Thread]

You might take a look at https://optipic.io/en/webp/zencart/

Suppoasedly, you can keep your png, gif, jpg for those browsers that do not play well with webp but the connection will present the image in webp if the browser is compatible.

17 May 2023, 7:34 AM
#997
simon1066 avatar

simon1066

Totally Zenned

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

Re: ZCA Bootstrap 4 Template [Support Thread]

Inspecting a .webp image in Chrome dev tools shows a mixture of back and forward slashes in the src path. It seems that Firefox does a better job at resolving this mixture than the other two browsers.

https://www.allmart.ca/store/images\banners\Toronto.webp

They should all be forward slashes, I suspect this is the way in which they were added to the slider, possibly by copying the relative path from Notepad or such like. I haven't seen the other instances of .webp images throughout the site but hopefully the same is happening there.

17 May 2023, 11:31 AM
#998
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

simon1066:

Inspecting a .webp image in Chrome dev tools shows a mixture of back and forward slashes in the src path. It seems that Firefox does a better job at resolving this mixture than the other two browsers.

https://www.allmart.ca/store/images\banners\Toronto.webp

> 
> They should all be forward slashes, I suspect this is the way in which they were added to the slider, possibly by copying the relative path from Notepad or such like. I haven't seen the other instances of .webp images throughout the site but hopefully the same is happening there.

Changed all to forward slashes with no effect.
17 May 2023, 12:16 PM
#999
simon1066 avatar

simon1066

Totally Zenned

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

Re: ZCA Bootstrap 4 Template [Support Thread]

allmart:

Changed all to forward slashes with no effect.

Well, the slider images are showing for me in Chrome and Edge now. Perhaps clearing browser cache might help.

Edit: Actually you've reverted the slider images to .jpg (with nivo slider) so scrap the above.

17 May 2023, 12:44 PM
#1000
simon1066 avatar

simon1066

Totally Zenned

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

Re: ZCA Bootstrap 4 Template [Support Thread]

Ok, I think I know the why. Visiting this image in chrome, dev tools shows it as having a type of 'document', it should be 'webp'

https://www.allmart.ca/store/images/banners/PRIME-Header.webp

Attachment 20296

So you can rule out the slider plugin. I don't have the answer though, possibly server or .htaccess related.