Re: ZCA Bootstrap 4 Template [Support Thread] - Ajax search
I found the problem of the misalignment.
The problem is that the labels get display: inline-block; from https://cdn.jsdelivr.net/npm/bootstr...tstrap.min.css.
This can be overwritten by adding display: block; in the aforementioned /includes/modules/pages/checkout_payment/jscript_square.php
.inputLabelPayment::after {display: block;content: "\A"; white-space: pre;}
Re: ZCA Bootstrap 4 Template [Support Thread] - Ajax search
On here when I am on a product page it says "quantity in cart: 1" for example above the add box and button.
However when you look at a category listing by row (setting "1" under columns per row) it does not show the above guidance.
Looking at product info display I can see the entry to get that display on about line 160 on my particular php file.
$display_qty = ($flag_show_product_info_in_cart_qty == 1 && $_SESSION['cart']->in_cart($_GET['products_id'])) ? '<p>' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '</p>' : '';
However, I am having a brain freeze on where to insert this statement to get it to show on the rows setup or columns for that matter even set on "0" as recommended it doesn't display.
So when you look at a grid on a laptop you have say 3-5 products across and tons of space in each box or row where this can be inserted but where?
Re: ZCA Bootstrap 4 Template [Support Thread] - Ajax search
Quote:
Originally Posted by
JimmyV
On here when I am on a product page it says "quantity in cart: 1" for example above the add box and button.
However when you look at a category listing by row (setting "1" under columns per row) it does not show the above guidance.
Looking at product info display I can see the entry to get that display on about line 160 on my particular php file.
$display_qty = ($flag_show_product_info_in_cart_qty == 1 && $_SESSION['cart']->in_cart($_GET['products_id'])) ? '<p>' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '</p>' : '';
However, I am having a brain freeze on where to insert this statement to get it to show on the rows setup or columns for that matter even set on "0" as recommended it doesn't display.
So when you look at a grid on a laptop you have say 3-5 products across and tons of space in each box or row where this can be inserted but where?
That "quantity in cart" display, in the ZC core, was intended to "only show" on a product's information page; that's where the product's type-specific handling comes into play and sets the $flag_show_product_info_in_cart_qty variable.
Assuming (key-word) that all your products are of the same 'type', you can make a change in your override of the template's /includes/modules/bootstrap/product_listing.php.
Re: ZCA Bootstrap 4 Template [Support Thread] - Ajax search
I've just submitted v1.0.3 of the Bootstrap-4 template's customization for One Page Checkout; I'll post back here when it's available for download.
This release corrects the presence of an unclickable radio-button when there's only one payment method available for an order (#7).
Re: ZCA Bootstrap 4 Template [Support Thread]
I am having issue with css. Using ZC 1.5.7d and lastest Bootstrap template
I renamed the dist _specific_styles file to zcustom_specific_styles and added the following code:
Code:
<?php
/*
* BOOTSTRAP 3.3.0
*
* Create a file called "site_specific_styles.php" to contain any changes
* to base css provided by this template. Place site-specific content
* between the opening and closing style tags.
*
* Refer to https://github.com/lat9/ZCA-Bootstrap-Template/blob/v300/pages/faqs.md for
* additional information.
*/
?>
<style>
logoWrapper { text-align: center;}
h1 {color: red;}
</style>
but nothing is happening whatsoever.
I have been pulling my hair on this one and can t figure it out.
Any ideas what i am doing wrong??
Thank you
Re: ZCA Bootstrap 4 Template [Support Thread]
Quote:
Originally Posted by
nicksab
I am having issue with css. Using ZC 1.5.7d and lastest Bootstrap template
I renamed the dist _specific_styles file to zcustom_specific_styles and added the following code:
Code:
<?php
/*
* BOOTSTRAP 3.3.0
*
* Create a file called "site_specific_styles.php" to contain any changes
* to base css provided by this template. Place site-specific content
* between the opening and closing style tags.
*
* Refer to https://github.com/lat9/ZCA-Bootstrap-Template/blob/v300/pages/faqs.md for
* additional information.
*/
?>
<style>
logoWrapper { text-align: center;}
h1 {color: red;}
</style>
but nothing is happening whatsoever.
I have been pulling my hair on this one and can t figure it out.
Any ideas what i am doing wrong??
Thank you
Try
#logoWrapper {
text-align:center!important;
}
h1 {color:red!important;}
Re: ZCA Bootstrap 4 Template [Support Thread]
Quote:
Originally Posted by
Nick1973
Try
#logoWrapper {
text-align:center!important;
}
h1 {color:red!important;}
Thanks for the prompt reply.
Unfortunately , it is still not working. I refreshed cached, used incognito mode...Nothing so far.
If I place the same code into stylesheet.css, it works just fine.
Re: ZCA Bootstrap 4 Template [Support Thread]
If you look at the first few lines of includes/templates/bootstrap/css/dist_specific_sytles.php it tells you to:
Code:
<?php /*
* BOOTSTRAP 3.3.0
*
* Create a file called "site_specific_styles.php" to contain any changes
* to base css provided by this template. Place site-specific content
* between the opening and closing style tags.
*
* Refer to https://github.com/lat9/ZCA-Bootstrap-Template/blob/v300/pages/faqs.md for
* additional information.
*/
?>
<style>
/* Your content here ... */
</style>
Just put your code in the /* Your content here ... */ and save the file as specific_styles.php.
That's the filename the system is looking for.
Re: ZCA Bootstrap 4 Template [Support Thread]
Quote:
Originally Posted by
dbltoe
If you look at the first few lines of includes/templates/bootstrap/css/dist_specific_sytles.php it tells you to:
Code:
<?php /*
* BOOTSTRAP 3.3.0
*
* Create a file called "site_specific_styles.php" to contain any changes
* to base css provided by this template. Place site-specific content
* between the opening and closing style tags.
*
* Refer to https://github.com/lat9/ZCA-Bootstrap-Template/blob/v300/pages/faqs.md for
* additional information.
*/
?>
<style>
/* Your content here ... */
</style>
Just put your code in the
/* Your content here ... */ and save the file as specific_styles.php.
That's the filename the system is looking for.
i know and seen the instructions but it still not working fo rsome reasons.
I even tried to paste the whole example from GitHub found here https://github.com/lat9/ZCA-Bootstra.../pages/faqs.md
somehow the code is not being called or something.
my dist_specific_style.php looks like this
Code:
<?php
/*
* BOOTSTRAP 3.3.0
*
* Create a file called "site_specific_styles.php" to contain any changes
* to base css provided by this template. Place site-specific content
* between the opening and closing style tags.
*
* Refer to https://github.com/lat9/ZCA-Bootstrap-Template/blob/v300/pages/faqs.md for
* additional information.
*/
?>
<style>
h1 {color: red!important;}
</style>
but none of my h1 tag are turning red.
Not sure what it could be honestly as i am not a coder or expert whatsoever
Re: ZCA Bootstrap 4 Template [Support Thread]
Quote:
Originally Posted by
lat9
That "quantity in cart" display, in the ZC core, was intended to "only show" on a product's information page; that's where the product's type-specific handling comes into play and sets the $flag_show_product_info_in_cart_qty variable.
Assuming (key-word) that all your products are of the same 'type', you can make a change in your override of the template's /includes/modules/bootstrap/product_listing.php.
Quote:
Originally Posted by
nicksab
i know and seen the instructions but it still not working fo rsome reasons.
I even tried to paste the whole example from GitHub found here
https://github.com/lat9/ZCA-Bootstra.../pages/faqs.md
somehow the code is not being called or something.
my dist_specific_style.php looks like this
Code:
<?php
/*
* BOOTSTRAP 3.3.0
*
* Create a file called "site_specific_styles.php" to contain any changes
* to base css provided by this template. Place site-specific content
* between the opening and closing style tags.
*
* Refer to https://github.com/lat9/ZCA-Bootstrap-Template/blob/v300/pages/faqs.md for
* additional information.
*/
?>
<style>
h1 {color: red!important;}
</style>
but none of my h1 tag are turning red.
Not sure what it could be honestly as i am not a coder or expert whatsoever
Rename/copy dist_specific_styles.php to site_specific_styles.php.