Thread: Westminster New

Results 1 to 10 of 1865

Hybrid View

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

    Default Re: Westminster New

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

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

  3. #3
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    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
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

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

  5. #5
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    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
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  6. #6
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    245
    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

  7. #7
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,700
    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
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 

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

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