Page 29 of 155 FirstFirst ... 1927282930313979129 ... LastLast
Results 281 to 290 of 1550
  1. #281
    Join Date
    Jan 2007
    Location
    Illinois, USA
    Posts
    312
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap Template

    Ive downloaded and installed this most recent version dated 12/17/20

    running 1/5/7b and php7.3

    Love the template, easily customizable.

    I have a lengthy list of Categories and EZ Pages. Is it possible in the mobile version for either list to scroll?

    PROBLEM: if I have more than 20 links in either list, it is not possible to view the entirety of either list.

    Suggestions?
    NTO: building a better network thru collaboration
    www.needtoorder.com | www.coffeewitheinstein.com

  2. #282
    Join Date
    Jan 2010
    Posts
    49
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap Template

    I added the following to stylesheet.css to allow the hamburger menu to scroll.

    Code:
    div#navbarSupportedContent {
    	max-height:300px;
    	overflow-y:auto;
    }

  3. #283
    Join Date
    Jan 2007
    Location
    Illinois, USA
    Posts
    312
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap Template

    Quote Originally Posted by dennisns7d View Post
    I added the following to stylesheet.css to allow the hamburger menu to scroll.

    Code:
    div#navbarSupportedContent {
        max-height:300px;
        overflow-y:auto;
    }

    A simple thing of beauty that is EXACTLY what I needed!
    Thank You!
    NTO: building a better network thru collaboration
    www.needtoorder.com | www.coffeewitheinstein.com

  4. #284
    Join Date
    Jan 2007
    Location
    Illinois, USA
    Posts
    312
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap Template

    Im trying to Center the EZ header bars contents. The links currently show up aligned left.

    I added this to the stylesheet on ZCA4, but no effect.... thoughts?
    Code:
      /* header ezpage bar */
            div#ezpagesBarHeader {
                text-align:center;
            }
    #ezpagesBarHeader {
        background-color: <?php echo ZCA_HEADER_EZPAGE_BACKGROUND_COLOR; ?>;
        }
    #ezpagesBarHeader a.nav-link  {
        color: <?php echo ZCA_HEADER_EZPAGE_LINK_COLOR; ?>;
        }
    #ezpagesBarHeader a.nav-link:hover  {
        color: <?php echo ZCA_HEADER_EZPAGE_LINK_COLOR_HOVER; ?>;
        }
    NTO: building a better network thru collaboration
    www.needtoorder.com | www.coffeewitheinstein.com

  5. #285
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,448
    Plugin Contributions
    11

    Default Re: ZCA Bootstrap Template

    Is the header currently turned on or on a different site from your sig? Would help to see.

    I do see that your site comes up insecure from your sig. That tells me there's no 301 redirect to send all to HTTPS.

    It also results in your sign-in possibly being sent insecure.

    Your SSL states www. So, you might want to add the following to the root .htaccess
    Code:
    # Needed before any rewritingRewriteEngine On
    
    
    ### Built using the .htaccess 301 Redirect Generator from Web Site Advantage
    ### https://websiteadvantage.com.au/HtAccess-301-Redirect-Generator
    ### Place after 'RewriteEngine On' and before any CMS specific rewrite rules
    
    
    # Redirect HTTP with www to HTTPS with www
    RewriteCond %{HTTPS} off
    RewriteCond %{HTTP_HOST} ^www\. [NC]
    RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    # Redirect HTTP without www to HTTPS with www
    RewriteCond %{HTTPS} off
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    # Redirect HTTPS without www to HTTPS with www
    RewriteCond %{HTTPS} on
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    
    
    ## 301 Redirects

  6. #286
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,342
    Plugin Contributions
    94

    Default Re: ZCA Bootstrap Template

    Quote Originally Posted by Carbonless View Post
    Im trying to Center the EZ header bars contents. The links currently show up aligned left.

    I added this to the stylesheet on ZCA4, but no effect.... thoughts?
    Code:
      /* header ezpage bar */
            div#ezpagesBarHeader {
                text-align:center;
            }
    #ezpagesBarHeader {
        background-color: <?php echo ZCA_HEADER_EZPAGE_BACKGROUND_COLOR; ?>;
        }
    #ezpagesBarHeader a.nav-link  {
        color: <?php echo ZCA_HEADER_EZPAGE_LINK_COLOR; ?>;
        }
    #ezpagesBarHeader a.nav-link:hover  {
        color: <?php echo ZCA_HEADER_EZPAGE_LINK_COLOR_HOVER; ?>;
        }
    To get those centered, you'll need to edit your bootstrap clone's /templates/tpl_ezpages_bar_header.php, adding another class to the 'nav-pills' list:
    Code:
    ?>
    <?php if (!empty($var_linksList)) { ?>
    <div id="ezpagesBarHeader" class="ezpagesBar rounded">
    <ul class="nav nav-pills nav-justified">
    <?php for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) {  ?>
      <li class="nav-item"><a class="nav-link" href="<?php echo $var_linksList[$i]['link']; ?>"><?php echo $var_linksList[$i]['name']; ?></a></li>
    <?php } // end FOR loop ?>
    </ul>
    </div>
    <?php } ?>

  7. #287
    Join Date
    Jan 2007
    Location
    Illinois, USA
    Posts
    312
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap Template

    Quote Originally Posted by dbltoe View Post
    Is the header currently turned on or on a different site from your sig? Would help to see.

    its a client site www.psdinnersready.com
    NTO: building a better network thru collaboration
    www.needtoorder.com | www.coffeewitheinstein.com

  8. #288
    Join Date
    Jan 2007
    Location
    Illinois, USA
    Posts
    312
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap Template

    Quote Originally Posted by lat9 View Post
    To get those centered, you'll need to edit your bootstrap clone's /templates/tpl_ezpages_bar_header.php, adding another class to the 'nav-pills' list:
    Code:
    ?>
    <?php if (!empty($var_linksList)) { ?>
    <div id="ezpagesBarHeader" class="ezpagesBar rounded">
    <ul class="nav nav-pills nav-justified">
    <?php for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) {  ?>
      <li class="nav-item"><a class="nav-link" href="<?php echo $var_linksList[$i]['link']; ?>"><?php echo $var_linksList[$i]['name']; ?></a></li>
    <?php } // end FOR loop ?>
    </ul>
    </div>
    <?php } ?>

    PERFECT! I appreciate the quick response and that worked beautifully!
    NTO: building a better network thru collaboration
    www.needtoorder.com | www.coffeewitheinstein.com

  9. #289
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,342
    Plugin Contributions
    94

    Default Re: ZCA Bootstrap Template

    Quote Originally Posted by Carbonless View Post
    PERFECT! I appreciate the quick response and that worked beautifully!
    That's the beauty of using a standards-based template!
    There's documentation that identifies the various Bootstrap 4 styles (https://hackerthemes.com/bootstrap-cheatsheet/)
    and there's also documentation (https://www.w3schools.com/bootstrap4/default.asp) that includes some "Try It" links
    and the official Bootstrap docs (https://getbootstrap.com/docs/4.5/components/alerts/).

  10. #290
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: ZCA Bootstrap Template

    Quote Originally Posted by dennisns7d View Post
    I added the following to stylesheet.css to allow the hamburger menu to scroll.

    Code:
    div#navbarSupportedContent {
        max-height:300px;
        overflow-y:auto;
    }
    Quote Originally Posted by Carbonless View Post
    A simple thing of beauty that is EXACTLY what I needed!
    Thank You!
    FYI as pointed out elsewhere by dennisns7d there may be issues for landscape.
    Changing max-height to 90vh helps the "one" change work better for both portrait and landscape: See: https://github.com/lat9/ZCA-Bootstra.../pull/15/files
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v155 Clone a Template [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 107
    Last Post: 11 Nov 2024, 08:28 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