Page 32 of 108 FirstFirst ... 2230313233344282 ... LastLast
Results 311 to 320 of 1072
  1. #311
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Quote Originally Posted by marton_1 View Post
    When I do an "inspect" on my free shipping icon I do indeed see

    img {
    max-width: 100%;
    height: auto;
    border: 0;
    }
    Be careful of altering this... you may be tempted to do this:


    Code:
    img {
        width: 75px;
        height: 50px;
        border: 0;
    }
    This will have a GLOBAL result. You need to nail down the CLASS (or perhaps its an ID) of the element in question, then write a block of css that declares ONLY for that element.
    20 years a Zencart User

  2. #312
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    In:-

    tpl_product_info_display the block of code for the free shipping icon is:
    PHP Code:
    <!--bof free ship icon  -->
    <?php if(zen_get_product_is_always_free_shipping($products_id_current) && $flag_show_product_info_free_shipping) { ?>
    <div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON?></div>
    <?php ?>
    <!--eof free ship icon  -->
    So there is an ID for the icon - #freeShippingIcon

    Now... you need to declare a style for this ID and its associated image:

    Code:
    #freeShippingIcon img {height:94; width:54;}
    ADD THIS declaration to just UNDER
    Code:
    img {
    max-width: 100%;
    height: auto;
    border: 0;
    }
    in responsive css file
    20 years a Zencart User

  3. #313
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    PS... mobile does not like absolute dimensions in the css - such as "94" and "54" - because of the wide variety of screens on all the myriad of hand-helds out there.

    Use of % is strongly recommended - so what you might like to try is working out how large you'd like the image, relative to the page, then try some % parameters. This may or may not work.

    You could also try the following:

    #freeShippingIcon img {
    max-width: 94;
    height: auto;
    border: 0;
    }

    (I'm not sure if there is a css command "max-height" - if there is, you can try applying it as well.)
    20 years a Zencart User

  4. #314
    Join Date
    Sep 2012
    Location
    West Jefferson, NC
    Posts
    383
    Plugin Contributions
    0

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Why is Responsive Classic so slow on tablets and iphones (marginally slower on desktop)? If I use Classic Original, product pages load 4-5 times faster than if I use the Responsive design. I would like to use Responsive, but I can't convince myself that it is the right thing to do because of speed issues.

    Any insight would be appreciated. I'm running 1.5.5d in both my live and test shop. The test shop is ran in a shared SSL environment whereas the live is SSL but only for critical pages like login, logout, etc.
    Last edited by mikeel100; 11 Jan 2017 at 07:51 PM. Reason: My specs

  5. #315
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    567
    Plugin Contributions
    0

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Quote Originally Posted by schoolboy View Post
    In:-

    tpl_product_info_display the block of code for the free shipping icon is:
    PHP Code:
    <!--bof free ship icon  -->
    <?php if(zen_get_product_is_always_free_shipping($products_id_current) && $flag_show_product_info_free_shipping) { ?>
    <div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON?></div>
    <?php ?>
    <!--eof free ship icon  -->
    So there is an ID for the icon - #freeShippingIcon

    Now... you need to declare a style for this ID and its associated image:

    Code:
    #freeShippingIcon img {height:94; width:54;}
    ADD THIS declaration to just UNDER
    Code:
    img {
    max-width: 100%;
    height: auto;
    border: 0;
    }
    in responsive css file
    Great, thanks.

  6. #316
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    567
    Plugin Contributions
    0

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Quote Originally Posted by mikeel100 View Post
    Why is Responsive Classic so slow on tablets and iphones (marginally slower on desktop)? If I use Classic Original, product pages load 4-5 times faster than if I use the Responsive design. I would like to use Responsive, but I can't convince myself that it is the right thing to do because of speed issues.

    Any insight would be appreciated. I'm running 1.5.5d in both my live and test shop. The test shop is ran in a shared SSL environment whereas the live is SSL but only for critical pages like login, logout, etc.
    What do you mean by slow?
    Using these online speed testers testers my Responsive Classic 1.5.5d with full SSL the desktop loads in 1.5/1.8 seconds and mobile in 2.5/3.2 seconds.
    if you use, for example, https://tools.pingdom.com/ it gives you clues where you are slow

  7. #317
    Join Date
    Sep 2012
    Location
    West Jefferson, NC
    Posts
    383
    Plugin Contributions
    0

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Thanks for the quick reply and tip on the speed test site but I do not need a site to tell or show me something that is already obvious.

    My ISP speed test is off the charts....

    My tablet memory is not an issue....

    Desktop runs lightening fast....

    A product info page in responsive takes 8-10 seconds to load on samsung android while the same page in my custom classic only takes 2-3 seconds. I have applied all the speed up recommendations to both live and test shops and all other configurations are identical...except that the test shop is full shared ssl. Changing the link to non ssl does not change a thing...still slow.

    Again, tablet and iPhone speeds are terrible in responsive. Does anyone know why? Cache method?

    Thanks.

  8. #318
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    567
    Plugin Contributions
    0

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Quote Originally Posted by mikeel100 View Post
    Thanks for the quick reply and tip on the speed test site but I do not need a site to tell or show me something that is already obvious.

    My ISP speed test is off the charts....

    My tablet memory is not an issue....

    Desktop runs lightening fast....

    A product info page in responsive takes 8-10 seconds to load on samsung android while the same page in my custom classic only takes 2-3 seconds. I have applied all the speed up recommendations to both live and test shops and all other configurations are identical...except that the test shop is full shared ssl. Changing the link to non ssl does not change a thing...still slow.

    Again, tablet and iPhone speeds are terrible in responsive. Does anyone know why? Cache method?

    Thanks.
    if you use, for example, https://tools.pingdom.com/ it gives you clues where you are slow

  9. #319
    Join Date
    Feb 2015
    Location
    USA
    Posts
    157
    Plugin Contributions
    0

    Default Changing size of quantity box

    I've been working on this for a couple of days. The quantity box is vary large and even worse in the mobile view and if I use the grid plugin, it's even worse.
    I've tried changing the settings in a couple of files that were suggested in another forum but nothing is working. I've also tried to change it in admin configuration.

    Any thoughts as to how to make the quantity box smaller. I thought it would be easy.
    You can see the issue on my test site http://spminiatures.com/storetest2/i...th=189_196_197
    The test link is the template that's not using the grid plugin.

    Any ideas? I've run out of them

    Carol

  10. #320
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    567
    Plugin Contributions
    0

    Default Re: Changing size of quantity box

    Quote Originally Posted by spminis View Post
    I've been working on this for a couple of days. The quantity box is vary large and even worse in the mobile view and if I use the grid plugin, it's even worse.
    I've tried changing the settings in a couple of files that were suggested in another forum but nothing is working. I've also tried to change it in admin configuration.

    Any thoughts as to how to make the quantity box smaller. I thought it would be easy.
    You can see the issue on my test site http://spminiatures.com/storetest2/i...th=189_196_197
    The test link is the template that's not using the grid plugin.

    Any ideas? I've run out of them

    Carol
    The width is controlled in the stylesheet.css ".list-input input[type=text]" ca. line 316, you could change this.
    You need to check if the class .list-input is used anywhere else on your site for size of input boxes!

 

 
Page 32 of 108 FirstFirst ... 2230313233344282 ... LastLast

Similar Threads

  1. v155 Support Thread - Responsive Color Changes for 155
    By dbltoe in forum Templates, Stylesheets, Page Layout
    Replies: 99
    Last Post: 1 Oct 2021, 12:31 PM
  2. v151 Tableau Responsive Theme - Support Thread
    By numinix in forum Addon Templates
    Replies: 622
    Last Post: 19 Apr 2020, 11:11 PM
  3. v155 Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
    By picaflor-azul in forum Addon Templates
    Replies: 0
    Last Post: 17 Mar 2016, 12:30 AM
  4. v154 Order Steps Responsive [Support Thread]
    By davewest in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 Jul 2015, 06:11 PM
  5. Bentley Classic Template Support Thread
    By picaflor-azul in forum Addon Templates
    Replies: 173
    Last Post: 17 Sep 2013, 08:25 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