Thread: Westminster New

Page 172 of 187 FirstFirst ... 72122162170171172173174182 ... LastLast
Results 1,711 to 1,720 of 1865
  1. #1711
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Re: Westminster New

    Quote Originally Posted by dbltoe View Post
    add after stylesheet.css line 333

    Code:
    ul.slimmenu {display: none;}
    Thanks dbltoe for your quick response - unfortunately it isn't working for me, the drop down menu is still showing (after clearing browser cache a few times and using two browsers) - I believe I have placed the code where you indicated however I do slip up from time to time .... here is that section of stylesheet.css after adding that code below line 333 at what has now become the new line 334 - does this look OK to you? cheers, Mike

    Code:
    /*bof mobile menu*/
    .menu-collapser {position:relative;background:transparent;color:#000;text-shadow: 0 1px 0 rgba(0,0,0,0.5);width: 100%;height: 48px;line-height: 48px;font-size: 16px;padding: 0 8px;box-sizing: border-box;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;}
    .collapse-button {position: absolute;right: 8px;top: 50%;width: 40px;background: #171717;box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.075);padding: 7px 10px;text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);cursor: pointer;font-size: 14px;text-align: center;transform: translate(0, -50%);-o-transform: translate(0, -50%);-ms-transform: translate(0, -50%);-moz-transform: translate(0, -50%);-webkit-transform: translate(0, -50%);box-sizing: border-box;-moz-box-sizing: border-box;-webkit-box-sizing: border-box}
    .collapse-button:hover, .collapse-button:focus {background-image: none;background: #666;color: #fff;}
    .collapse-button .icon-bar {background-color: #fff;border-radius: 1px 1px 1px 1px;box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);display: block;height: 2px;width: 18px;margin: 3px 0;}
    #menu{float:left;margin-top:20px;width:100%;}
    ul.slimmenu, ul.slimmenu1 {list-style-type: none;margin: 0;padding: 0;width: 100%;}
    ul.slimmenu {display: none;} 
    ul.slimmenu li, ul.slimmenu1 li {position: relative;display: inline-block;background:transparent;}
    ul.slimmenu > li, ul.slimmenu1 > li { margin-right: -5px; border-left: 0px solid #999 }
    ul.slimmenu > li:first-child, ul.slimmenu1 > li:first-child { border-left: 0 }
    ul.slimmenu > li:last-child, ul.slimmenu1 > li:last-child { margin-right: 0 }
    ul.slimmenu li a {display: block;color: #a0a0a0;text-transform:uppercase;padding: 12px 34px 12px 6px;font-size: 120%;font-weight: normal;transition: background-color 0.5s ease-out;-o-transition: background-color 0.5s ease-out;-moz-transition: background-color 0.5s ease-out;-webkit-transition: background-color 0.5s ease-out;}
    ul.slimmenu1 li a{display: block;color: #444;padding: 12px 34px 12px 6px;font-size: 16px;font-weight: normal;transition: background-color 0.5s ease-out;-o-transition: background-color 0.5s ease-out;-moz-transition: background-color 0.5s ease-out;-webkit-transition: background-color 0.5s ease-out;}
    ul.slimmenu li a:hover, ul.slimmenu1 li a:hover {background:#171717;text-decoration: none;color:#fff;}
    ul.slimmenu li .sub-collapser, ul.slimmenu1 li .sub-collapser {background: none;position: absolute;right: 0;top: 0;width: 28px;height: 100%;text-align: center;z-index: 999;cursor: pointer;}
    ul.slimmenu li .sub-collapser:before, ul.slimmenu1 li .sub-collapser:before {content: '';display: inline-block;height: 100%;vertical-align: middle;margin-right: -0.25em;}
    ul.slimmenu li .sub-collapser > i, ul.slimmenu1 li .sub-collapser > i {color:#a0a0a0;font-size:13px;display:inline-block;vertical-align:middle;}
    ul.slimmenu li ul, ul.slimmenu1 li ul {margin: 0;list-style-type: none;}
    ul.slimmenu li ul li, ul.slimmenu1 li ul li {background:#171717;width:190px;padding-left:20px;font-size:95%;}
    ul.slimmenu li ul li a:hover, ul.slimmenu1 li ul li a:hover{color:#fff;}
    ul.slimmenu li > ul, ul.slimmenu1 li > ul {display: none;position: absolute;left: -40px;top: 100%;z-index: 9999;}
    ul.slimmenu li > ul > li ul, ul.slimmenu1 li > ul > li ul {display: none;position: absolute;left: 75%;top: 0;z-index: 999;}
    ul.slimmenu.collapsed li, ul.slimmenu1.collapsed li {display: block;width: 99%;box-sizing: border-box;-moz-box-sizing: border-box;-webkit-box-sizing: border-box}
    ul.slimmenu.collapsed li a, ul.slimmenu1.collapsed li a {display: block;border-bottom: 1px solid rgba(0, 0, 0, 0.075);box-sizing: border-box;-moz-box-sizing: border-box;-webkit-box-sizing: border-box}
    ul.slimmenu.collapsed li .sub-collapser, ul.slimmenu1.collapsed li .sub-collapser {height: 45px;width:100px;}
    ul.slimmenu.collapsed li > ul, ul.slimmenu1.collapsed li > ul {display: none;position: static;}
    ul.slimmenu.collapsed li ul.level2, ul.slimmenu1.collapsed li ul.level2 {margin-left:-30px;width:99%;}
    ul.slimmenu.collapsed li ul.level2 li ul, ul.slimmenu1.collapsed li ul.level2 li ul {margin-left:-30px;width:99%;}
    Last edited by shags38; 31 Oct 2019 at 02:15 AM.

  2. #1712
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Re: Westminster New

    Code:
    #menu{float:left;margin-top:20px;width:100%;}
    add display:none; to that and test
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #1713
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Re: Westminster New

    Quote Originally Posted by barco57 View Post
    Code:
    #menu{float:left;margin-top:20px;width:100%;}
    add display:none; to that and test
    Hi barco57 - that worked but too well - it removed the menu from mobile rendering as well.

    So looking for a way to remove it from desktop render but retain it on mobile render - any ideas?

    cheers, Mike

  4. #1714
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Re: Westminster New

    Might work if you put it in the responsive_default inside the section that begins with
    Code:
    @media (min-width:768px) and (max-width:2400px) {
    so right after that you would add a line that looks like this
    Code:
    #menu {display:none;}
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  5. #1715
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Re: Westminster New

    Quote Originally Posted by barco57 View Post
    Might work if you put it in the responsive_default inside the section that begins with
    Code:
    @media (min-width:768px) and (max-width:2400px) {
    so right after that you would add a line that looks like this
    Code:
    #menu {display:none;}
    Nice try barco57 but unfortunately that didn't work

  6. #1716
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Re: Westminster New

    Add it to this section, begins at line 366 in responsive_default.css

    Code:
    @media (min-width:980px)
    {
    #mobile-nav1{display:none;}
    #menu {display:none;}
    }
    and if it works you can collapse that to
    Code:
    @media (min-width:980px)
    {
    #mobile-nav1, #menu{display:none;}
    }
    Last edited by barco57; 31 Oct 2019 at 05:48 AM.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  7. #1717
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    234
    Plugin Contributions
    0

    Default Re: Westminster New

    Quote Originally Posted by lat9 View Post
    Agreed, it appears to be a 'base' Zen Cart issue. Since that popup bypasses the 'normal' /common/tpl_main_page.php processing and doesn't use the breadcrumb, I believe that the most expedient solution is to edit /includes/modules/pages/popup_attributes_qty_prices/header_php.php
    Code:
    <?php
    /**
     * Pop Up for attributes qty prices
     *
     * @package page
     * @copyright Copyright 2003-2006 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: header_php.php 2982 2006-02-07 07:56:41Z birdbrain $
     */
    require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
    $breadcrumb->add(NAVBAR_TITLE_1);
    ?>
    and simply comment-out that line:
    Code:
    <?php
    /**
     * Pop Up for attributes qty prices
     *
     * @package page
     * @copyright Copyright 2003-2006 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: header_php.php 2982 2006-02-07 07:56:41Z birdbrain $
     */
    require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
    //-Removed, no NAVBAR_TITLE_1 defined: $breadcrumb->add(NAVBAR_TITLE_1);
    ?>
    Thank you, have done that wee update and it appears to have disappeared... yayyyy :-)
    Elemi

    The Art of Bespoke Aromatherapy
    www.AmorAromatherapy.co.nz

  8. #1718
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    234
    Plugin Contributions
    0

    bug Re: Westminster New

    Okay, so 1.5.6c, PHP latest version, New install
    Mods: This template, Captcha, Bank Deposit


    This seems to be the only debug I have left... which is popping up every minute... any suggestions on how I fix it... read earlier parts of this thread but I couldn't work out what the solution was...

    [04-Nov-2019 09:09:40 UTC] Request URI: /index.php?main_page=product_info&products_id=187, IP address: 66.220.149.19
    #1 require(/home/sentialz/public_html/includes/modules/westminster_new/additional_images.php) called at [/home/sentialz/public_html/includes/templates/template_default/templates/tpl_modules_additional_images.php:13]
    #2 require(/home/sentialz/public_html/includes/templates/template_default/templates/tpl_modules_additional_images.php) called at [/home/sentialz/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php:73]
    #3 require(/home/sentialz/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php) called at [/home/sentialz/public_html/includes/modules/pages/product_info/main_template_vars.php:177]
    #4 require(/home/sentialz/public_html/includes/modules/pages/product_info/main_template_vars.php) called at [/home/sentialz/public_html/includes/templates/westminster_new/common/tpl_main_page.php:216]
    #5 require(/home/sentialz/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/home/sentialz/public_html/index.php:97]
    --> PHP Warning: Use of undefined constant LARGE_IMAGE_WIDTH - assumed 'LARGE_IMAGE_WIDTH' (this will throw an Error in a future version of PHP) in /home/sentialz/public_html/includes/modules/westminster_new/additional_images.php on line 205.

    [04-Nov-2019 09:09:40 UTC] Request URI: /index.php?main_page=product_info&products_id=187, IP address: 66.220.149.19
    #1 require(/home/sentialz/public_html/includes/modules/westminster_new/additional_images.php) called at [/home/sentialz/public_html/includes/templates/template_default/templates/tpl_modules_additional_images.php:13]
    #2 require(/home/sentialz/public_html/includes/templates/template_default/templates/tpl_modules_additional_images.php) called at [/home/sentialz/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php:73]
    #3 require(/home/sentialz/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php) called at [/home/sentialz/public_html/includes/modules/pages/product_info/main_template_vars.php:177]
    #4 require(/home/sentialz/public_html/includes/modules/pages/product_info/main_template_vars.php) called at [/home/sentialz/public_html/includes/templates/westminster_new/common/tpl_main_page.php:216]
    #5 require(/home/sentialz/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/home/sentialz/public_html/index.php:97]
    --> PHP Warning: Use of undefined constant LARGE_IMAGE_HEIGHT - assumed 'LARGE_IMAGE_HEIGHT' (this will throw an Error in a future version of PHP) in /home/sentialz/public_html/includes/modules/westminster_new/additional_images.php on line 205.

    I'll donate a coffee for the person who can fix this for me :-)
    Elemi

    The Art of Bespoke Aromatherapy
    www.AmorAromatherapy.co.nz

  9. #1719
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,145
    Plugin Contributions
    11

    Default Re: Westminster New

    Neither of those variables are in a standard 1.5.6c load. Have you used the Developer's tool kit to search for them?

    You may have a hold over from an earlier version or a mod you did not list. Earlier version or mod may be in YOUR_ADMIN/includes/modules/update_product.php

  10. #1720
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    234
    Plugin Contributions
    0

    Default Re: Westminster New

    Quote Originally Posted by dbltoe View Post
    Neither of those variables are in a standard 1.5.6c load. Have you used the Developer's tool kit to search for them?

    You may have a hold over from an earlier version or a mod you did not list. Earlier version or mod may be in YOUR_ADMIN/includes/modules/update_product.php
    Brand new website, brand new CPanel, brand new install so definitely no carry over.

    By variable I assume you mean LARGE_IMAGE_WIDTH and LARGE_IMAGE_HEIGHT? If so, they are both in the Westminster New template only.

    As for the rest of what is written up there, I don't actually understand it :-(
    Elemi

    The Art of Bespoke Aromatherapy
    www.AmorAromatherapy.co.nz

 

 

Similar Threads

  1. v155 Getting ajax error in v155 with v154 Westminster template
    By godt in forum General Questions
    Replies: 3
    Last Post: 11 Jul 2016, 12:41 AM
  2. v155 Getting ajax error in v155 with v154 Westminster template
    By MCS_Computers in forum General Questions
    Replies: 10
    Last Post: 21 Mar 2016, 03:58 PM
  3. v154 Modifying Top Menu - Westminster New
    By chelseaneedshelp in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Mar 2015, 04:28 PM
  4. Westminster New doesn't work on mobile phone
    By Pompidompie in forum Addon Templates
    Replies: 3
    Last Post: 26 Mar 2015, 10:34 PM
  5. v151 westminster new Share and Connect
    By Larry0652 in forum Addon Templates
    Replies: 8
    Last Post: 24 Oct 2014, 03:30 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