Zen Cart Logo
Forums / Addon Templates / Responsive Sheffield Blue v2.0

Responsive Sheffield Blue v2.0

Views: 309,796

Results 841 to 860 of 1,514
20 Apr 2016, 7:30 PM
#841
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Responsive Sheffield Blue v2.0

Why are my images not appearing right?
http://gelcandlecompany.com/tea-lights-c-118/designer-c-118_163/
I tried smaller sizes and they appear the same. I tried other images from other shops that appear ok and they are not showing right for me.
Is there an image handler mod I'm missing?

21 Apr 2016, 1:04 AM
#842
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Responsive Sheffield Blue v2.0

I cannot access your site to troubleshoot the image issue.

spawnie69:

Wow!Thank you so much now I have to resize images.
http://gelcandlecompany.com/tea-lights-c-118my /designer-c-118_163/

spawnie69:

Why are my images not appearing right?
http://gelcandlecompany.com/tea-lights-c-118/designer-c-118_163/
I tried smaller sizes and they appear the same. I tried other images from other shops that appear ok and they are not showing right for me.
Is there an image handler mod I'm missing?

21 Apr 2016, 1:59 AM
#846
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

rbarbour:

Your images appear correctly. What are you seeing that I am not.

On my desktop the images are appearing but the products are not lined up correctly.
CenterBoxContentsProducts seems to show only 2 columns in firefox and 3 in chrome.
There seems to be a weird spacing not aligning the products next to each other like this fellow zen cart user:
http://religious-shop.com/jewelry/corded-bracelets
and this user's site shows the items all aligned in chrome and firefox with 3 columns.

For my site spacing issue seems to be worse with chrome. Mobile is fine though.
will post a pic.
thanks

21 Apr 2016, 11:29 AM
#848
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Responsive Sheffield Blue v2.0

spawnie69:

Here are pics showing my products http://gelcandlecompany.com/classic-jars-c-92/florals-c-92_79/
thanks

You can either correct this by using css and the min-height property on the product boxes container, or adding a javascript such as match height to dynamically make the boxes the same height. Another alternative is to have product images with the same aspect ratio and product titles of the same lengths.

Thanks,

Anne

21 Apr 2016, 11:34 AM
#849
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

spawnie69:

Here are pics showing my products http://gelcandlecompany.com/classic-jars-c-92/florals-c-92_79/
thanks
Had similar problem - seemed to be varying size of images was causing the product display boxes to be different sizes which then pushed some of them out of one row into another, sometimes leaving blank spots. Fix for me, as noted in this forum already, was to change the size of the display boxes in the stylesheet. I changed the min-height to a (fixed) height that worked for my max image size. There was another solution offered, also in this forum, that dealt with jquery. It was probably a better suggestion was out of my novice ability to understand.

21 Apr 2016, 5:39 PM
#850
silverhd avatar

silverhd

Totally Zenned

Join Date:
Mar 2008
Location:
USA
Posts:
563
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

rbarbour:

For anyone having an issue getting the amount of product per row to display correctly (config value)

open:
/includes/templates/responsive_sheffield_blue/css/responsive_default.css

in the media query section
@media (min-width:980px) and (max-width:1200px) {

find:
Code:

.centerBoxContentsAlsoPurch, .centerBoxContentsProducts, .centerBoxContentsNew, .centerBoxContentsFeatured, .centerBoxContentsSpecials {width:45% !important;}
change to:
Code:

.centerBoxContentsAlsoPurch, .centerBoxContentsProducts, .centerBoxContentsNew, .centerBoxContentsFeatured, .centerBoxContentsSpecials {}
This will allow the width to properly calculate in desktop devices.

I had that problem too. Thanks to you, it is now resolved.

Thanks again,

Silver

22 Apr 2016, 8:31 AM
#851
viljoesj avatar

viljoesj

New Zenner

Join Date:
Mar 2016
Posts:
1
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

please help any free way of adding a credit card payment option onto my site ?

23 Apr 2016, 3:20 AM
#852
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

SilverHD:

rbarbour:

I had that problem too. Thanks to you, it is now resolved.

Thanks again,

Silver

Thank you everyone Just fixed it by following rbarbour steps. Thank you Silver for enlightening me, I thought I searched high in low in the thread.
Looks great: http://gelcandlecompany.com/classic-jars-c-92/florals-c-92_79/
Doesn't help if missing pics and I probably should have all images about the same size would help.

Thanks again everyone for helping.

23 Apr 2016, 4:25 AM
#853
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Responsive Sheffield Blue v2.0

Use matchHeight, it was included in v1.55 responsive_classic

copy

/includes/templates/responsive_classic/jscript/jscript_matchHeight-min.js

to

/includes/templates/responsive_sheffield_blue/jscript/jscript_matchHeight-min.js

add to:

/includes/templates/responsive_sheffield_blue/jscript/jscript_responsive_framework.php
$('.centerBoxContentsProducts').matchHeight();

You can duplicate above including the selector for all the different boxes

spawnie69:

Thank you everyone Just fixed it by following rbarbour steps. Thank you Silver for enlightening me, I thought I searched high in low in the thread.
Looks great: http://gelcandlecompany.com/classic-jars-c-92/florals-c-92_79/
Doesn't help if missing pics and I probably should have all images about the same size would help.

Thanks again everyone for helping.

23 Apr 2016, 4:18 PM
#854
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

rbarbour:

Use matchHeight, it was included in v1.55 responsive_classic

copy

/includes/templates/responsive_classic/jscript/jscript_matchHeight-min.js

> 
> to
> ```
/includes/templates/responsive_sheffield_blue/jscript/jscript_matchHeight-min.js

add to:

/includes/templates/responsive_sheffield_blue/jscript/jscript_responsive_framework.php

> 
> ```
$('.centerBoxContentsProducts').matchHeight();

You can duplicate above including the selector for all the different boxes

I don't see /jscript_reposnsive_framework.php in the Resp Sheffield Blue flies - so should that file be copied over from /responsive_classic? I see the latter has the bit of matchHeight code in it.

I do have /jscript_framework.php in the Sheffield folder, the original being replaced by the file from /template_default as per Dr Byte earlier suggestion in this forum.

23 Apr 2016, 11:46 PM
#855
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Responsive Sheffield Blue v2.0

My mistake,

/jscript_reposnsive_framework.php isn't part of this version. Copying it may create some some issues.

Do not copy:

/includes/templates/responsive_sheffield_blue/jscript/jscript_responsive_framework.php

create:

/includes/templates/responsive_sheffield_blue/jscript/jscript_matchHeight.php

and add:

<?php
/**
 * @package templateSystem
 * @copyright Copyright 2003-2016 Zen Cart Development Team
 * @license [url]http://www.zen-cart.com/license/2_0.txt[/url] GNU Public License V2.0
 * @version ZCA/GIT: $Id: rbarbour New for v1.5.5 $
 */
?>


<?php if ( $detect->isMobile() && !$detect->isTablet() && $_SESSION['layoutType'] == 'full' || $detect->isTablet() && $_SESSION['layoutType'] == 'full' ){ ?>

<script type="text/javascript"><!--//
(function($) {
$(document).ready(function() {

$('.centerBoxContentsProducts').matchHeight();


  });
}) (jQuery);
//--></script>

soxophoneplayer:

I don't see /jscript_reposnsive_framework.php in the Resp Sheffield Blue flies - so should that file be copied over from /responsive_classic? I see the latter has the bit of matchHeight code in it.

I do have /jscript_framework.php in the Sheffield folder, the original being replaced by the file from /template_default as per Dr Byte earlier suggestion in this forum.

24 Apr 2016, 7:14 PM
#856
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

rbarbour:

My mistake,

/jscript_reposnsive_framework.php isn't part of this version. Copying it may create some some issues.

Do not copy:

/includes/templates/responsive_sheffield_blue/jscript/jscript_responsive_framework.php

> 
> create:
> ```
/includes/templates/responsive_sheffield_blue/jscript/jscript_matchHeight.php

and add:

<?php /** * @package templateSystem * @copyright Copyright 2003-2016 Zen Cart Development Team * @license [url]http://www.zen-cart.com/license/2_0.txt[/url] GNU Public License V2.0 * @version ZCA/GIT: $Id: rbarbour New for v1.5.5 $ */ ?> <?php if ( $detect->isMobile() && !$detect->isTablet() && $_SESSION['layoutType'] == 'full' || $detect->isTablet() && $_SESSION['layoutType'] == 'full' ){ ?> <script type="text/javascript"><!--// (function($) { $(document).ready(function() { $('.centerBoxContentsProducts').matchHeight(); }); }) (jQuery); //--></script>

Saved above code (and nothing else) in new file  /includes/templates/responsive_sheffield_blue/jscript/jscript_matchHeight.php 
Copied /includes/templates/responsive_classic/jscript/jscript_matchHeight-min.js into the sheffield blue jscript folder 
Did not copy  /includes/templates/responsive_sheffield_blue/jscript/jscript_responsive_framework.php

Breaks site. Logs give an unanticipated ending on line #22 (final line) of the above code. Did I misunderstand?
25 Apr 2016, 1:54 AM
#857
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Responsive Sheffield Blue v2.0

No, I did a copy paste error.

<?php
/**
 * @package templateSystem
 * @copyright Copyright 2003-2016 Zen Cart Development Team
 * @license [url]http://www.zen-cart.com/license/2_0.txt[/url] GNU Public License V2.0
 * @version ZCA/GIT: $Id: rbarbour New for v1.5.5 $
 */
?>

<script type="text/javascript"><!--//
(function($) {
$(document).ready(function() {

$('.centerBoxContentsProducts').matchHeight();


  });
}) (jQuery);
//--></script>

soxophoneplayer:

Saved above code (and nothing else) in new file /includes/templates/responsive_sheffield_blue/jscript/jscript_matchHeight.php
Copied /includes/templates/responsive_classic/jscript/jscript_matchHeight-min.js into the sheffield blue jscript folder
Did not copy /includes/templates/responsive_sheffield_blue/jscript/jscript_responsive_framework.php

Breaks site. Logs give an unanticipated ending on line #22 (final line) of the above code. Did I misunderstand?

25 Apr 2016, 6:10 PM
#858
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Responsive Sheffield Blue v2.0

Viljoesj:

please help any free way of adding a credit card payment option onto my site ?

I am not sure what you mean by "free" (all payment processing companies will be charging fees) but zen cart comes with several payment modules built in. See admin--modules--payment

Thanks,

Anne

26 Apr 2016, 12:50 PM
#860
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Responsive Sheffield Blue v2.0

Frank, I have done it!

You can see it on v1.5.5 here.

frank18:

I know that this template is being updated as time permits ... but has anyone already successfully applied the changes as advised in thread https://www.zen-cart.com/showthread.php?219801-Making-v154-DIY-Picaflor-Azul-templates-work-with-v1-5-5 to make this template working in ZC 1.5.5 ?