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

ZCA Bootstrap 4 Template [Support Thread]

Views: 545,493

Results 1,441 to 1,460 of 1,686
20 Nov 2024, 3:17 PM
#1441
jimmyv avatar

jimmyv

Zen Follower

Join Date:
Feb 2008
Location:
Philadelphia
Posts:
292
Plugin Contributions:
2

ZCA Bootstrap 4 Template [Support Thread]

Thanks I didn't even look at that file so that could be helpful !

22 Nov 2024, 2:00 PM
#1442
jimmyv avatar

jimmyv

Zen Follower

Join Date:
Feb 2008
Location:
Philadelphia
Posts:
292
Plugin Contributions:
2

Re: ZCA Bootstrap 4 Template [Support Thread]

FYI if anyone wants to have a centerbox on login that shows their recently ordered items list that can be added to their cart instantly you can just add the sidebox code in sequence with mods desired into tpl_index_default and it will be shown or not depending on login status. Status of sidebox doesn't matter. What's most important is it doesn't impact the homepage for unique visitors as it's not visible to them.

22 Nov 2024, 5:12 PM
#1443
gsh68 avatar

gsh68

Zen Follower

Join Date:
Mar 2011
Posts:
103
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Is there a way to have a sidebox show in mobile view?
In this particular case I'm trying to have a sidebox as a banner linking to my blog showing my holiday hours.
Using wide-banners instead isn't a great option either as the banner becomes unreadable in mobile view.

Seems strange to me that so much info that is available in pc view is deemed unnecessary in mobile views (ie currency/language selection).

22 Nov 2024, 7:45 PM
#1444
lat9 avatar

lat9

Administrator

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

Re: ZCA Bootstrap 4 Template [Support Thread]

gsh68:

Is there a way to have a sidebox show in mobile view?
In this particular case I'm trying to have a sidebox as a banner linking to my blog showing my holiday hours.
Using wide-banners instead isn't a great option either as the banner becomes unreadable in mobile view.

Seems strange to me that so much info that is available in pc view is deemed unnecessary in mobile views (ie currency/language selection).
You can add the sidebox link to your site's bootstrap template's /common/tpl_offcanvas_menu.php.

23 Nov 2024, 7:55 PM
#1445
enchanted1 avatar

enchanted1

New Zenner

Join Date:
Aug 2012
Location:
Kitty Hawk, NC
Posts:
70
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Hello! I just recently had version 2.0.1 installed. What code do I need to add to the stylesheet.css to remove the underlines for links? I tried adding the following but nothing changed:

a:hover {
text-decoration: none; }
}
a:active {
text-decoration: none;
}

23 Nov 2024, 11:48 PM
#1446
jimmyv avatar

jimmyv

Zen Follower

Join Date:
Feb 2008
Location:
Philadelphia
Posts:
292
Plugin Contributions:
2

Re: ZCA Bootstrap 4 Template [Support Thread]

Another question where can I alter mobile format from 1 to 2 columns to whatever above 700px so every last few years galaxy and iphone go here given they all have larger screens than when this template was created originally and then below that can be 1 column if you own a 10= year old phone and so forth as it already is for tablets and desktop? Above 992 would be the set in cofig number and so forth. AMazon does 3 column now works fine.

However if this is done then fonts need to shrink as well esp H1 which is set at 2.5rem for some reason

24 Nov 2024, 4:03 AM
#1447
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

On mobile:

I would like to get the product listing image to be "bigger".

If you look at my site https://www.royal-fleur.com on mobile, the product image displayed in centerboxes ( featured,specials...) are around 140px x 140 px for example.
However, the product listing image in categories are displayed at 110 px x 110 px.

I feel like there is a lot space between the actual image and the product card border. How can i reducedit so the images are slightly bigger.

I find ```
.p-3 {
padding: 1rem !important;
}


but it is general and applies to other element in the page.

Any way  to achieve it  with out messing  around  the whole layout?

hope it makes sense. Thank you

Note:  product  listing image via admin control won't help. If too big, the images overlap on mobile.
25 Nov 2024, 6:16 PM
#1448
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
414
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

How is it possible to have the productDescription text fill the full width of the page? See image. Still keeping the Add to Cart, Price and Model fields.

Attachment 20803

25 Nov 2024, 8:28 PM
#1450
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
414
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

It's probably not the right way to do this, but I added:

.productDescription {width:210%}

in includes/templates/bootstrap/css/stylesheet.css

and so far it seems to work.

25 Nov 2024, 8:46 PM
#1451
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
414
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

I used to use the Image Handler plugin which displayed the images like this:

Attachment 20804

Additional images displayed underneath the main image. Unfortunately this plugin is not compatible with zen cart 2.1.0.
Can something similar be made with Bootstrap? or zen cart 2.1.0 in general? How are images and additional images handled? and to which directory do I upload additional images?

26 Nov 2024, 1:27 AM
#1453
lat9 avatar

lat9

Administrator

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

Re: ZCA Bootstrap 4 Template [Support Thread]

DML73:

I used to use the Image Handler plugin which displayed the images like this:

Attachment 20804

Additional images displayed underneath the main image. Unfortunately this plugin is not compatible with zen cart 2.1.0.
Can something similar be made with Bootstrap? or zen cart 2.1.0 in general? How are images and additional images handled? and to which directory do I upload additional images?
There's a Bootstrap Configuration setting (Use Bootstrap Additional Image Carousel), which comes close. There's an "Additional Images" button which displays a modal popup carousel of images when clicked.

26 Nov 2024, 8:54 AM
#1454
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
414
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Thanks, I got that enabled now. Am I correct that there is no option to show the small additional images below the main image, instead of the 'Additional images' button?

26 Nov 2024, 9:58 AM
#1455
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
414
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Is there a setting for making the top navigation bar same width as the rest of the page?
Header Container Type, Main Content Container Type and Footer Container Type in Bootstrap Template Settings is set to 'container'.

Also, is there a setting to make the width of the whole 'container' a bit wider? (red arrow in image below)

Attachment 20805

26 Nov 2024, 1:07 PM
#1456
lat9 avatar

lat9

Administrator

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

Re: ZCA Bootstrap 4 Template [Support Thread]

DML73:

Is there a setting for making the top navigation bar same width as the rest of the page?
Header Container Type, Main Content Container Type and Footer Container Type in Bootstrap Template Settings is set to 'container'.

Also, is there a setting to make the width of the whole 'container' a bit wider? (red arrow in image below)

Attachment 20805
Top navigation bar, hmm. A CSS setting for that doesn't currently 'pop out' at me.

For the "whole container" width, that would result in the overrides of various CSS media queries at the Bootstrap 4 breakpoints, similar to:

@media (min-width: 1200px) {
    .container { max-width: 1140px; }
}

Those breakpoints and the associated default max-widths are

576px ..... 540px
768px ..... 720px
992px ..... 960px
1200px ... 1140px

P.S. Be sure to make this and other styling changes in the /css/site_specific_styles.php (rename or copy the dist.site_specific_styles.php). That'll make sure that your styling customizations survive a template upgrade more easily.

26 Nov 2024, 1:09 PM
#1457
lat9 avatar

lat9

Administrator

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

Re: ZCA Bootstrap 4 Template [Support Thread]

DML73:

Thanks, I got that enabled now. Am I correct that there is no option to show the small additional images below the main image, instead of the 'Additional images' button?
You're correct; that'd be custom code.

1 Dec 2024, 3:16 AM
#1458
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

lat9:

You're correct; that'd be custom code.

For the additional images carousel, is it possible to change the left / right arrow?

They are barely visible in my situation. Maybe something like a white square with black chevron?

here is an example https://www.royal-fleur.com/christmas/snowy-christmas-centerpiece

Also can the speed of the slide be increase or reduce.

Thank you

1 Dec 2024, 7:16 PM
#1459
jeff_mash avatar

jeff_mash

Totally Zenned

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

Re: ZCA Bootstrap 4 Template [Support Thread]

Perhaps try to add the following CSS to your stylesheet:

/* Change the color of Font Awesome chevron arrows */
.carousel-control-next i,
.carousel-control-prev i {
    color: #FFD700;
}

That would change the color to Yellow, but you can adjust the hex value to whatever desired color works best for you.

  • Jeff
2 Dec 2024, 1:58 AM
#1460
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Jeff_Mash:

Perhaps try to add the following CSS to your stylesheet:

/* Change the color of Font Awesome chevron arrows */
.carousel-control-next i,
.carousel-control-prev i {
color: #FFD700;
}

> 
> That would change the color to Yellow, but you can adjust the hex value to whatever desired color works best for you.

thank you