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

ZCA Bootstrap 4 Template [Support Thread]

Views: 542,585

Results 1,201 to 1,220 of 1,686
16 Mar 2024, 1:07 PM
#1201
lat9 avatar

lat9

Administrator

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

ZCA Bootstrap 4 Template [Support Thread]

While the "Listing Layout Style" is not used by the Bootstrap template, the "Columns per Row" setting is -- use 0 for fluid columns or 1 for rows. Other results can display in an unwanted manner; see this Wiki article for more information: https://github.com/lat9/ZCA-Bootstrap-Template/wiki/Frequently-Asked-Questions#configuration--product-listing--columns-per-row-display-anomalies

17 Mar 2024, 4:05 PM
#1202
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

How would I change a color to a gradient? I thought I could just enter ```
linear-gradient(to bottom right, #33ccff 0%, #3366ff 100%)

17 Mar 2024, 9:06 PM
#1203
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]

gradiants and colors are different. A background color is coded differently than a plain background which can be an image, gradiant or other entity.

You can use rgba and other forms of opacity in the bootstrap colors.

18 Mar 2024, 11:24 AM
#1204
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

I am trying to do some modifications to this template using site_specific_styles.php. I just tried to do something simple like change a text color but nothing is changing. What am I missing here? I have been reading heavily into BS4 and CSS but I am just a hack on this side.

<style>
   #tagline {
  color: yellow;
}
</style>
18 Mar 2024, 11:34 AM
#1205
lat9 avatar

lat9

Administrator

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

Re: ZCA Bootstrap 4 Template [Support Thread]

g2ktcf:

I am trying to do some modifications to this template using site_specific_styles.php. I just tried to do something simple like change a text color but nothing is changing. What am I missing here? I have been reading heavily into BS4 and CSS but I am just a hack on this side.

<style> #tagline { color: yellow; } </style>
That's weird, since placing that CSS in that file *should *work.  Are you sure the file's in the site's "clone" of the template instead of the /templates/bootstrap/css directory?
18 Mar 2024, 7:29 PM
#1206
lat9 avatar

lat9

Administrator

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

Re: ZCA Bootstrap 4 Template [Support Thread]

v3.6.4 of the ZCA Bootstrap Template is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2191

This release contains changes required for interoperability with Zen Cart v2.0.0 and bugfixes.

For a full list of all changes, see this link: https://github.com/lat9/ZCA-Bootstrap-Template/issues?q=is%3Aissue+milestone%3Av3.6.4

18 Mar 2024, 11:14 PM
#1207
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

lat9:

That's weird, since placing that CSS in that file *should *work. Are you sure the file's in the site's "clone" of the template instead of the /templates/bootstrap/css directory?

Yes, I just checked not only that but verified that the clone was actually the selected template. Do you have a suggestion on what else to put in there as a test?

18 Mar 2024, 11:44 PM
#1208
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

lat9:

That's weird, since placing that CSS in that file *should *work. Are you sure the file's in the site's "clone" of the template instead of the /templates/bootstrap/css directory?

Found it....I forgot to remove dist- from the file name. I just took a chance and that did it! I feel like such an idiot! lol

21 Mar 2024, 12:27 PM
#1209
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Hi All,

Server Host: xxxxx.prod.phx3.secureserver.net (68.178.132.xxx)
Database: xxxxx_live158Store
Home: /home/xxxxx/public_html/Server
OS: Linux 4.18.0-477.27.2.lve.el8.x86_64
Server Date: 24/11/2023 22:50:21
Server Up Time: Disabled/UnavailableHTTP
Server: ApachePHP Version: 8.0.30 (Zend: 4.0.30)PHP
File Uploads: OnUpload Max Size: 1024M
PHP Memory Limit: -1POST Max Size: 1024M
Database Engine: MySQL 10.6.14-MariaDB-cll-lve
Database Host: localhost (127.0.0.1)
Database Date: 24/11/2023 22:50:21
Database Data Size: 280,607 kB
Database Index Size: 40,767 kB
MySQL Slow Query Log Status: Off
MySQL Slow Query Log File: xxxxx-slow.log
MySQL Mode: NO_ENGINE_SUBSTITUTIONView the database configuration variables

I need help on how I move the search from the top right to the right side where the logo is below the contact number.

We are using the latest version of the bootstrap template version 3.6.3. This is the site outdoorking.com.au

Any assistance with code and where to put it would be appreciated, as I am consistently getting people not knowing where they can search on the website.

I would like to have a box saying enter part number or description so they can at lest see it.

21 Mar 2024, 1:36 PM
#1210
lat9 avatar

lat9

Administrator

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

Re: ZCA Bootstrap 4 Template [Support Thread]

Go to Configuration :: Bootstrap Template Settings and set Enable AJAX Search to false. That'll cause a full search button/input field to be displayed instead of the search-icon.

Note, too, that v3.6.3 is not the latest; v3.6.4 was released a couple of days ago!

21 Mar 2024, 9:27 PM
#1211
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

lat9:

Go to Configuration :: Bootstrap Template Settings and set Enable AJAX Search to false. That'll cause a full search button/input field to be displayed instead of the search-icon.

Note, too, that v3.6.3 is not the latest; v3.6.4 was released a couple of days ago!

That worked but now the display below does not show the products. So how do you fix that issue. The box used to pop up on the screen and a drop down would show products image etc.

22 Mar 2024, 2:39 AM
#1212
lat9 avatar

lat9

Administrator

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

Re: ZCA Bootstrap 4 Template [Support Thread]

Bruce1952:

That worked but now the display below does not show the products. So how do you fix that issue. The box used to pop up on the screen and a drop down would show products image etc.
So, you've got a "partial whitepage". There's a myDEBUG*.log file in the site's /logs directory that you could post-back.

22 Mar 2024, 3:04 AM
#1213
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

lat9:

So, you've got a "partial whitepage". There's a myDEBUG*.log file in the site's /logs directory that you could post-back.

I will try to explain a bit better so we are on the same page.

  1. The magnifying glass top right next to phone number (people her don't look very hard) they don't see it.

  2. When you press it a box pops up where you can place a part number or description into it and images show below the box(which it is doing correctly)

  3. I want the box to be in the same area as the logo but under the phone number so people can see it when on the site because it would be more visible than the magnifying glass (which is not that big).

  4. I am dealing with people that I think might be blind because I have to keep explaining to them that they have to look.

I hope that I have explained it correctly so you can understand what I am trying to achieve.

22 Mar 2024, 6:49 AM
#1214
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

I've thought about this change (but for other reasons) for my shop which is using responsive_classic, too.

You probably might to edit the template file to achieve that. At responsive_classic it should be near round by "logowrapper". Though I have installed the Bootstrap Template on a dev subdomain I haven't been able to try it out.

Be careful not to break mobile display.

Flexbox should do the trick. If not flexbox then css-grid will.
Bootstrap probably has anything already built-in?! If not just edit it in your stylesheet accordingly.

22 Mar 2024, 9:22 PM
#1215
jeff_mash avatar

jeff_mash

Totally Zenned

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

Re: ZCA Bootstrap 4 Template [Support Thread]

Bruce1952:

I will try to explain a bit better so we are on the same page.

  1. The magnifying glass top right next to phone number (people her don't look very hard) they don't see it.

Do they also not see the big SEARCH sidebox that is already underneath your logo in the left-hand sidebox menu?

  1. When you press it a box pops up where you can place a part number or description into it and images show below the box(which it is doing correctly)

  2. I want the box to be in the same area as the logo but under the phone number so people can see it when on the site because it would be more visible than the magnifying glass (which is not that big).

It almost sounds like you want the AJAX features (of having pop-ups when you click the search and instant results), but you want the look and appearance of the non-AJAX search (which shows the Search Box by default to type into).

Personally on my site, I turned OFF the AJAX search because I like the longer search box in the header bar versus the small magnifying glass.

  1. I am dealing with people that I think might be blind because I have to keep explaining to them that they have to look.

You can only hold their hand so much. I'd say to turn off AJAX search (which will make the search bar more visible in the header menu), and still leave the Search Box in the upper left hand sidebox. Between those two things, if your customers can't figure out how to search for something, then they should just call you on the phone because internet shopping is not for them.

23 Mar 2024, 9:29 PM
#1216
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

I need to format the tagline for my site in a very specific font. I have both ttf and woff2 files. I created the following

@font-face {
font-family: "TagLine_font";
src: url("../fonts/myfont.ttf") format("truetype");
src: url("../fonts/myfont.woff2") format("woff2"),

}

The other fonts found in 158a are in an admin directory but I am not sure WHERE to put the two files or exactly how to reference the path within ZC. I am getting a 404 file not found which is logical given that its looking at "localwlc.com/fonts/myfont.woff2"

Where do these file need to go and how to I reference them properly?

Thanks
Chris

24 Mar 2024, 7:57 AM
#1217
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

You could stick to the method how Font Awesome is being stored and referenced to.
Though I put new fonts in a new directory called /fonts.

24 Mar 2024, 9:11 AM
#1218
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

please ignore

24 Mar 2024, 9:18 AM
#1219
simon1066 avatar

simon1066

Totally Zenned

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

Re: ZCA Bootstrap 4 Template [Support Thread]

g2ktcf:

I need to format the tagline for my site in a very specific font. I have both ttf and woff2 files. I created the following

@font-face {
font-family: "TagLine_font";
src: url("../fonts/myfont.ttf") format("truetype");
src: url("../fonts/myfont.woff2") format("woff2"),

}

> 
> The other fonts found in 158a are in an admin directory but I am not sure WHERE to put the two files or exactly how to reference the path within ZC.  I am getting a 404 file not found which is logical given that its looking at "localwlc.com/fonts/myfont.woff2"  
> 
> Where do these file need to go and how to I reference them properly?
> 
> Thanks
> Chris

This is my setup,

put your code in a new file -  \includes\templates\YOUR_TEMPLATE\css\stylesheet_font.css, note the path change of 'src: url' and either remove the trailing comma (in red) or change it to a semi-colon.

@font-face {
font-family: "TagLine_font";
src: url("/fonts/myfont.ttf") format("truetype");
src: url("/fonts/myfont.woff2") format("woff2")[B],[/B]

}


add an index.html file to the /fonts folder

index.html
<html> <head> <title></title> <meta content=""> <style></style> </head> <body></body> </html> ```

to restrict access to certain filetypes (i.e. fonts) add an .htaccess file to the /fonts folder (you might need to copy over an existing one from another folder and edit it - in windows you cannot create a new file beginning with a dot)

.htaccess

#
# @copyright Copyright 2003-2013 Zen Cart Development Team
# @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
# @version GIT: $Id: Author: DrByte  Fri May 17 14:29:18 2013 -0400 Modified in v1.5.2 $
#
# This is used with Apache WebServers
#
# The following blocks direct HTTP requests to all filetypes in this directory recursively, except certain approved exceptions
# It also prevents the ability of any scripts to run. No type of script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.
# Will also prevent people from seeing what is in the dir. and any sub-directories
#
# For this to work, you must include either 'All' or at least: 'Limit' and 'Indexes' parameters to the AllowOverride configuration in your apache/conf/httpd.conf file.
# Additionally, if you want the added protection offered by the OPTIONS directive below, you'll need to add 'Options' to the AllowOverride list, if 'All' is not specified.
# Example:
#<Directory "/usr/local/apache/htdocs">
#  AllowOverride Limit Options Indexes
#</Directory>
###############################

# deny *everything*
<FilesMatch ".*">
  <IfModule mod_authz_core.c>
    Require all denied
  </IfModule>
  <IfModule !mod_authz_core.c>
    Order Allow,Deny
    Deny from all
  </IfModule>
</FilesMatch>

# but now allow just *certain* necessary files:
<FilesMatch "(?i).*\.(otf|ttf|woff|woff2|eot|svg)$" >
  <IfModule mod_authz_core.c>
    Require all granted
  </IfModule>
  <IfModule !mod_authz_core.c>
    Order Allow,Deny
    Allow from all
  </IfModule>
</FilesMatch>

IndexIgnore */*


## NOTE: If you want even greater security to prevent hackers from running scripts in this folder, uncomment the following line (if your hosting company will allow you to use OPTIONS):
# OPTIONS -Indexes -ExecCGI
24 Mar 2024, 5:06 PM
#1220
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,866
Plugin Contributions:
7

Re: ZCA Bootstrap 4 Template [Support Thread]

>Personally on my site, I turned OFF the AJAX search because I like the longer search box in the header bar versus the small magnifying glass.

Likewise, everything has to be blindingly obvious for the densest customer. I don't like the modal but want an ajax search.

I made a half-hearted attempt to modify the BS4 code to use the default search field, but gave up and used the instant search instead:

https://github.com/marco-pm/zencart_instantsearch