Page 71 of 92 FirstFirst ... 2161697071727381 ... LastLast
Results 701 to 710 of 918
  1. #701
    Join Date
    Feb 2011
    Location
    Near Houston, TX
    Posts
    495
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by Angiex1 View Post
    g2ktcf Thank you that worked for number 2 will look at the toolkit in future as totally forgot about that.
    that toolkit is even better. If you use your browser's development tools, you can find that menu/sidebox's element or div. Then using that name, you can search the css files in that toolkit and find out where the color is defined.

  2. #702
    Join Date
    Apr 2022
    Location
    United Kingdon
    Posts
    94
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Will go check that out :)
    https://www.angiesartspace.co.uk/ Zen cart version v1.5.8, MySQL Database version10.3.35-MariaDB-cll-lve, PHP Version 7.4.30, Template Bootstrap 4.

  3. #703
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    8,672
    Plugin Contributions
    9

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    In bootsrap.min.css, line 6 has a lot of data (the stylesheet is minimized). You can look for the following and adjust the items in red.
    Code:
    .card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solidrgba(255,0,0,.125);
    border-radius: 0.25rem;
    }
    Or, a beter idea is to place
    Code:
    .card {
    background-color: #fff;
    background-clip: border-box;
    border: 1px solidrgba(255,0,0,.125);
    border-radius: 0.25rem;
    }
    in the dist-site_specific_styles.php and save the file as site_specific_styles.php.

    That way, you have a record of what you did if you need it later.

  4. #704
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,950
    Plugin Contributions
    309

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    For products with attributes that have swatches, it looks like radio buttons configured using

    Attribute Image Layout Style (for Checkbox/Radio Buttons only)

    with value
    4 - Image + Option + Select as column

    won't work - it produces radio buttons which are unclickable. Switching to 5 does work, and follows the normal structure I apply for pages with radio buttons in bootstrap:

    a) put it in a special div

    b) input first, then label.

    c) On label, use class="custom-control-label"

    My workaround was just to comment out existing case '4' in includes/modules/bootstrap/attributes.php, and make case '5' and case '4' the same.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #705
    Join Date
    Sep 2010
    Location
    South Africa
    Posts
    15
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    I am wanting to add Fontawesome or Bootstrap Glyphs to CSS buttons (Buy Now, Reviews etc)

    Links with text only as in tpl_header.php I have done the following :

    <a class="nav-link" href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo '<i class="fas fa-sign-in-alt"></i> ' . HEADER_TITLE_LOGIN; ?></a>

    This is working however I want to add a Glyph to the Buy Now CSS button and want to replace the Search CSS button with a "Magnifying Glass" Glyph only

    Thank you

  6. #706
    Join Date
    Sep 2010
    Location
    South Africa
    Posts
    15
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    I have answered my own question as nobody else wants to

    To change the "search" button to a Fontawesome Magnifying glass

    In folder: Includes/Languages/English

    The File: "header.php"

    Change the following:

    define('HEADER_SEARCH_BUTTON','Search');

    To the following:

    define('HEADER_SEARCH_BUTTON','<i class="fa fa-search"></i>');

    This will remove the word "search" and replace it with a Magnifying Glass only
    You can still include the "search" word by using the following:

    define('HEADER_SEARCH_BUTTON','<i class="fa fa-search"></i> Search');

  7. #707
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,373
    Plugin Contributions
    80

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by arxvaldex View Post
    I have answered my own question as nobody else wants to

    To change the "search" button to a Fontawesome Magnifying glass

    In folder: Includes/Languages/English

    The File: "header.php"

    Change the following:

    define('HEADER_SEARCH_BUTTON','Search');

    To the following:

    define('HEADER_SEARCH_BUTTON','<i class="fa fa-search"></i>');

    This will remove the word "search" and replace it with a Magnifying Glass only
    You can still include the "search" word by using the following:

    define('HEADER_SEARCH_BUTTON','<i class="fa fa-search"></i> Search');
    Just make sure you've made your changes in a template-override version of that file, e.g. /includes/languages/english/MY_TEMPLATE/header.php, otherwise, your changes might be overwritten on your next Zen Cart upgrade!

  8. #708
    Join Date
    Nov 2015
    Location
    New Jersey USA
    Posts
    60
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    ZC v1.5.7d, Clone A Template, IH 5, Edit Orders, Zen Colorbox, PHP 7.4

    Would like to know how to change the Product Info page to 3 column mode when using this template.

    Thanks, Ted

  9. #709
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,705
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    includes/templates/Your_Clone_Folder_Name/common/tpl_main_page.php

    Code:
    // the following IF statement can be duplicated/modified as needed to set additional flags
      if (in_array($current_page_base,explode(",",'product_info,document_general_info,document_product_info,product_music_info,product_free_shipping_info,shopping_cart,checkout_shipping,checkout_payment,checkout_confirmation,checkout_success')) ) {
        $flag_disable_right = true;
      }
    Remove product_info from that list
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  10. #710
    Join Date
    Sep 2010
    Location
    South Africa
    Posts
    15
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    For some strange reason my Footer is now placed under the center box rather than on the bottom of the page

    The only changes applied to tpl_product_info_display.php
    Restoring the original Bootstrap files does not fix the problem

    site here:

    https://arxvaldex.com/shop/

 

 
Page 71 of 92 FirstFirst ... 2161697071727381 ... LastLast

Similar Threads

  1. v155 Clone a Template [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 79
    Last Post: 5 Jul 2021, 07:30 PM
  2. v150 aBagon Template Support Thread
    By VJef in forum Addon Templates
    Replies: 54
    Last Post: 5 Sep 2020, 08:44 PM
  3. v155 ZCA Bootstrap Template 1.0 (BETA)
    By rbarbour in forum Addon Templates
    Replies: 74
    Last Post: 25 Apr 2018, 07:05 PM
  4. TB Sempre Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 48
    Last Post: 19 Mar 2015, 06:33 PM
  5. Wallet Template - Support Thread
    By zami in forum Addon Templates
    Replies: 45
    Last Post: 25 Mar 2010, 10:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR