Re: ZCA Bootstrap 4 Template [Support Thread]
File includes/templates/bootstrap/jscript/jscript_zca_bootstrap.js
starts with
$('a.imageModal').on('click', function() {
might need to be wrapped in
if ($('a.imageModal')) {
without this you can get
Uncaught TypeError: $(...) is null
if the page has no images.
Re: ZCA Bootstrap 4 Template [Support Thread]
Quote:
Originally Posted by
diamond1
I think I expressed myself badly about what I want to do, I put you a to a site, if you click on an ezpage you will see that once in the page the name of the page on ezbar remains yellow, also if you click on a category you will see that it remains red once the category is chosen. The code you provided me with changes color if you move the mouse over but it does not remain the color once the page has been chosen.
https://demo.templatemonster.com/demo/43915dothtml
If you are actually using a templatemonster template, that is probably the reason for the failure. TM templates are not supported in the forum.
You need to contact them to make their template respond to proper CSS.
Re: ZCA Bootstrap 4 Template [Support Thread]
No Dbltoe the model is ZCA Bootstrap, I put the monster template link so that you can see what I want to do, I am inspired by this model to modify the ZCA Bootstrap
Re: ZCA Bootstrap 4 Template [Support Thread]
Quote:
Originally Posted by
diamond1
No Dbltoe the model is ZCA Bootstrap, I put the monster template link so that you can see what I want to do, I am inspired by this model to modify the ZCA Bootstrap
You have been telling us what you don't have and giving references to templates not used. PLEASE follow the posting tips and let us know the information asked for.
In this case, the URL of your site is extremely important. If you don't want the world to see just yet, use yoursiteDOTcom to keep it out of the search engines.
Also, use the # above to post lines 27 - 35 of includes/modules/YOUR_TEMPLATE/categories_tabs.php.
1 Attachment(s)
Re: ZCA Bootstrap 4 Template [Support Thread]
Hello, thank you for your patience, the site is still in the adjustment and translation phase, it is not yet online, that's why I can't give you a url of the site.
PHP Code:
//-bof-zca_bootstrap *** 1 of 1 ***
// $new_style = 'category-top';
$new_style = 'nav-item nav-link m-1 activeLink';
// $categories_tab_current = '<span class="category-subs-selected">' . $categories_tab->fields['categories_name'] . '</span>';
$categories_tab_current = $categories_tab->fields['categories_name'];
} else {
// $new_style = 'category-top';
$new_style = 'nav-item nav-link m-1';
//-eof-zca_bootstrap *** 1 of 1 ***
Attachment 20149
Re: ZCA Bootstrap 4 Template [Support Thread]
PHP Code:
//-bof-zca_bootstrap *** 1 of 1 ***
// $new_style = 'category-top';
$new_style = 'nav-item nav-link m-1 activeLink';
// $categories_tab_current = '<span class="category-subs-selected">' . $categories_tab->fields['categories_name'] . '</span>';
$categories_tab_current = $categories_tab->fields['categories_name'];
} else {
// $new_style = 'category-top';
$new_style = 'nav-item nav-link m-1';
//-eof-zca_bootstrap *** 1 of 1 ***
You must have something else going on with a file or lack thereof. The class (.activeLink) is present correctly in your site as it is in my un-modded test site. The code I gave you earlier works just fine on my test site.
The question is... What on your sited is different from an out-of-the-box load? Also, why wait for the active to work before launch? It would not stop function but you cetainly can't make money in development.
Re: ZCA Bootstrap 4 Template [Support Thread]
+1. Push it live as soon as it works - worry about the fine tuning later.
Re: ZCA Bootstrap 4 Template [Support Thread]
You are right, as long as it is not online we lose money, but I am convinced that the templates are the key to the success of an ecommerce site, that's why I invest more time on the beauty of the site and the functionality.
1 Attachment(s)
Re: ZCA Bootstrap 4 Template [Support Thread]
Hello, how to adjust the width of the right columns
and on the left, especially the one on the right in the product page which is really too wide, see attached image
Attachment 20152
Re: ZCA Bootstrap 4 Template [Support Thread]
Hello, I would like to know how to change color example h1 only on the product page, the shopping cart page, I know how to do it for the home page but not for the other pages.
PHP Code:
<?php
// -----
// Set a different color for the h1 tag only on the home page.
//
if ($this_is_home_page) {
?>
<style>
h1 {color: red;}
</style>
<?php
}
// -----
// Load an additional stylesheet.
//
?>