Thread: Westminster New

Page 172 of 176 FirstFirst ... 72122162170171172173174 ... LastLast
Results 1,711 to 1,720 of 1757
  1. #1711
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,309
    Plugin Contributions
    72

    Default Re: Westminster New

    Quote Originally Posted by simon1066 View Post
    I'm afraid I don't know enough about the operation of 'popup_attributes_qty_prices.php to be able to help - others have posted on this topic e.g. https://www.zen-cart.com/showthread....NAVBAR_TITLE_1

    Although with no definitive solution.

    Edit: I don't believe it is an issue with this template.
    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);
    ?>

  2. #1712
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,433
    Plugin Contributions
    1

    Default Re: Westminster New

    Hello - I would like to remove the dropdown menu (for desktop) that appears just under the logo at the top of the page - I think it is called slimmenu but believe it is required for mobile use?. refer image for clarification.

    cheers,
    Mike

    Name:  Harmony Necklace   Harmony Ball Necklace   Over 150 Styles.jpg
Views: 120
Size:  40.8 KB

  3. #1713
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    7,330
    Plugin Contributions
    8

    Default Re: Westminster New

    add after stylesheet.css line 333

    Code:
    ul.slimmenu {display: none;}
    Did you read the posting tips?!?
    Responsive Color Changes for 155-156c demo here.
    Zen Cart PCI Compatible Hosting

  4. #1714
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,433
    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.

  5. #1715
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,520
    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!

  6. #1716
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,433
    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

  7. #1717
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,520
    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!

  8. #1718
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,433
    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

  9. #1719
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,520
    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!

  10. #1720
    Join Date
    Mar 2006
    Location
    New Zealand
    Posts
    119
    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

 

 

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