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

Responsive Sheffield Blue v2.0

Views: 309,693

Results 1,321 to 1,340 of 1,514
26 Jun 2017, 22:08
#1321
spminis avatar

spminis

Zen Follower

Join Date:
Feb 2015
Location:
USA
Posts:
194
Plugin Contributions:
0

Responsive Sheffield Blue v2.0

jpda:

The currency field has an arrow to show it is a dropdown box. It displas the currency that you defined to be the default in Admin>Localization>Currencies.
That default value has already been loaded in the form and prices in your shop will be shown in this currency.
A simple text in your Welcome message might be easier...

To see how it looks like on a desktop when you would move the currency drop down box:

You might change margin-top to "margin-top: -33px;" and out comment "float: right"; (in stylesheet.css line #99). Or try with Firebug or a similar tool.
A better way might be to move the code of the form "currencies_form_header" as a <li>...</li> where you want it to be in the <ul> of <div id="navMain"> and add/change some css, but I'm not sure if this will work and changes may be needed for mobile devices...

Cheers,

jpda

Thanks for your response.
Many of my customers are older people (it's basically a retired people's hobby) and are not too computer literate. That is why I wanted a title for the currency dropdown box, similar to that for the manufacturer's drop down box. Since most of my customers are USA, it's not very critical.

I'll try your other idea, thanks

Carol

27 Jul 2017, 17:07
#1322
hivtop avatar

hivtop

New Zenner

Join Date:
Feb 2016
Location:
nm
Posts:
30
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

hello again...
Been getting ALOT of spam and php insertion attempts to my contact us page so i want to use a contact us page that has a capula and will only send mail to addresses I set up.. been using it for years puts a stop to both problems..

can someone please tell me where the "<a href=" is for the contact us page cuz I need to change it to an external link (not part of zencart) that will open in a new tab

27 Jul 2017, 17:57
#1323
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: Responsive Sheffield Blue v2.0

A thread on templates probably won't be helpful with contact us spam. Try googling zen cart contact us spam and see if any of those threads might be helpful. Newer versions should not have this problem.

Also, understand that third-world script-kiddies are being paid to sit at terminals and manually abuse the form.

27 Jul 2017, 18:14
#1324
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Responsive Sheffield Blue v2.0

hivtop:

hello again...
Been getting ALOT of spam and php insertion attempts to my contact us page so i want to use a contact us page that has a capula and will only send mail to addresses I set up.. been using it for years puts a stop to both problems..

can someone please tell me where the "<a href=" is for the contact us page cuz I need to change it to an external link (not part of zencart) that will open in a new tab

You can do a quick search of the code for FILENAME_CONTACT_US and that'll reveal all the locations you'll need to change.

But, recent versions of Zen Cart already do spam-trapping. And there's a ReCAPTCHA plugin available too; it's an easy install.

27 Jul 2017, 18:54
#1325
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Responsive Sheffield Blue v2.0

dbltoe:

A thread on templates probably won't be helpful with contact us spam. Try googling zen cart contact us spam and see if any of those threads might be helpful. Newer versions should not have this problem.

Also, understand that third-world script-kiddies are being paid to sit at terminals and manually abuse the form.

DrByte:

You can do a quick search of the code for FILENAME_CONTACT_US and that'll reveal all the locations you'll need to change.

But, recent versions of Zen Cart already do spam-trapping. And there's a ReCAPTCHA plugin available too; it's an easy install.
Actually in the case of this template (historically) the use of the megamenu as "was" that included a dropdown contact us option with no honeypot was frequently an issue for spam. Now, that said, no amount of protection will prevent the attempt to spam that was initialy reported. There are several references and discussion in this thread alone about what can be done to prevent/minimize the amount of spam. The typical reason that it continues although the contact us menu option has been "hidden" is that only css was used and nothing programatic has been done to correct the situation. (script kiddies, etc. don't pay attention to css "hiding" attempts.)

Also while recaptcha, etc. may work well on a standard contact us screen, it doesn't work well (visually) on a responsive screen version of the dropdown because either it doesn't fit on screen or when reducing the size only makes it more difficult for real people to be able to read/enter the data requested.

27 Jul 2017, 20:19
#1326
hivtop avatar

hivtop

New Zenner

Join Date:
Feb 2016
Location:
nm
Posts:
30
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

slow down everyone.. this is a simple "Where is it" question.. not a discussion on honeypots and spammers... LOL

25 Aug 2017, 18:02
#1327
mcs_computers avatar

mcs_computers

Zen Follower

Join Date:
Aug 2013
Location:
Bridlington
Posts:
151
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Is there anyway to control the layout when listing products, if you use a too bigger description it throws the whole site out like this ...

Attachment 17245

I have imported 10,000 products and would not want to edit each listing LOL

Many thanks in advance.

25 Aug 2017, 18:40
#1328
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Responsive Sheffield Blue v2.0

The problem technically speaking is not that the description of any product is "too long" but rather when two products are adjacent to one another and one has a longer displayed description than the other, the height of the longer description is not factored into the height of the shorter one.

This is should be resolved through the use of the match height portion of the template which is supposedly a part of the current version of this template at least as identified in this post found by searching on the word height: https://www.zen-cart.com/showthread.php?217203-Responsive-Sheffield-Blue-v2-0&p=1310587&highlight=height#post1310587

25 Aug 2017, 18:57
#1329
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

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

Re: Responsive Sheffield Blue v2.0

mc12345678:

The problem technically speaking is not that the description of any product is "too long" but rather when two products are adjacent to one another and one has a longer displayed description than the other, the height of the longer description is not factored into the height of the shorter one.

This is should be resolved through the use of the match height portion of the template which is supposedly a part of the current version of this template at least as identified in this post found by searching on the word height: https://www.zen-cart.com/showthread.php?217203-Responsive-Sheffield-Blue-v2-0&p=1310587&highlight=height#post1310587

I don't think match height was part of RSB v2. The jscript files were present in zc 1.5.5 Responsive Classic but not in RSB. I tried unsuccessfully to incorporate but was above my pay grade. My work around was to adjust min-height which was already used in the template stylesheet - I merely set it to a higher px number that accommodated my set up.

See also this thread:https://www.zen-cart.com/showthread.php?222727-matchHeight-issue-in-Responsive-Sheffield-Blue

25 Aug 2017, 23:35
#1330
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Responsive Sheffield Blue v2.0

soxophoneplayer:

I don't think match height was part of RSB v2. The jscript files were present in zc 1.5.5 Responsive Classic but not in RSB. I tried unsuccessfully to incorporate but was above my pay grade. My work around was to adjust min-height which was already used in the template stylesheet - I merely set it to a higher px number that accommodated my set up.

Pay Grade!!!

Move the javascript files from the responsive_classic jscript folder to your RSB jscript folder
jquery.matchHeight.js
jscript.matchHeight-min.js
jscript_responsive_framework.php

In jscript_responsive_framework.php I didn't use any of the responsive mobile stuff so I deleted all but the lines needed for matchHight which are.

<script type="text/javascript"><!--//

(function($) {
$(document).ready(function() {

$('.centeredContent').matchHeight();
$('.specialsListBoxContents').matchHeight();
$('.centerBoxContentsAlsoPurch').matchHeight();
$('.categoryListBoxContents').matchHeight();
$('.centerBoxContentsLinks').matchHeight();

});

}) (jQuery);

//--></script>

I also renamed the file so in the future it would be easy to upgrade.
I'm running on ZC1.5.5e, started with RSB v1, modified to meet php7.1 and then some... works!
Idea of what's going on here any box you want to match hight needs to be listed here and all need the same class name. added for links was .centerBoxContentsLinks each div has this class so each link box match the hight of the others..

Hope that helps... Not getting paid any more, so guess pay grade is out...

25 Aug 2017, 23:48
#1331
mcs_computers avatar

mcs_computers

Zen Follower

Join Date:
Aug 2013
Location:
Bridlington
Posts:
151
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

I went in and changed the min-height in the stylesheet.css but it made no difference ??

26 Aug 2017, 00:21
#1332
mcs_computers avatar

mcs_computers

Zen Follower

Join Date:
Aug 2013
Location:
Bridlington
Posts:
151
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

davewest:

Pay Grade!!!

Move the javascript files from the responsive_classic jscript folder to your RSB jscript folder
jquery.matchHeight.js
jscript.matchHeight-min.js
jscript_responsive_framework.php

In jscript_responsive_framework.php I didn't use any of the responsive mobile stuff so I deleted all but the lines needed for matchHight which are.

<script type="text/javascript"><!--// (function($) { $(document).ready(function() { $('.centeredContent').matchHeight(); $('.specialsListBoxContents').matchHeight(); $('.centerBoxContentsAlsoPurch').matchHeight(); $('.categoryListBoxContents').matchHeight(); $('.centerBoxContentsLinks').matchHeight(); }); }) (jQuery); //--></script>
> I also renamed the file so in the future it would be easy to upgrade.
> I'm running on ZC1.5.5e, started with RSB v1, modified to meet php7.1 and then some... works!
> Idea of what's going on here any box you want to match hight needs to be listed here and all need the same class name.  added for links was .centerBoxContentsLinks  each div has this class so each link box match the hight of the others..
> 
> Hope that helps... Not getting paid any more, so guess pay grade is out...

Hey Dave done exactly what you have said, when I looked in the jscript_responsive_framework.php file these lines were already there ...

$('.centeredContent').matchHeight();
$('.specialsListBoxContents').matchHeight();
$('.centerBoxContentsAlsoPurch').matchHeight();
$('.categoryListBoxContents').matchHeight();

So under the last entry I put in the ..

$('.centerBoxContentsLinks').matchHeight();

Nothing changed on the site, I`m sorry I`m punching a little over my weight here but do I need to do anything else as nothing has changed ???
26 Aug 2017, 03:31
#1333
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Responsive Sheffield Blue v2.0

MCS_Computers:

Hey Dave done exactly what you have said, when I looked in the jscript_responsive_framework.php file these lines were already there ...

$('.centeredContent').matchHeight();
$('.specialsListBoxContents').matchHeight();
$('.centerBoxContentsAlsoPurch').matchHeight();
$('.categoryListBoxContents').matchHeight();

So under the last entry I put in the ..

$('.centerBoxContentsLinks').matchHeight();

Nothing changed on the site, Im sorry Im punching a little over my weight here but do I need to do anything else as nothing has changed ???
Just noticed I have a typo in my scribble.. if you changed the file name as I typed was jscript.matchHeight-min.js back to jscript_matchHeight-min.js it should work...

The four lines are in the jscript_responsive_framework.php but you should downsize the file to what I have. The rest is handled in RSB 2..

26 Aug 2017, 11:01
#1334
mcs_computers avatar

mcs_computers

Zen Follower

Join Date:
Aug 2013
Location:
Bridlington
Posts:
151
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Hey DaveWest, I actually never changed the filename it is still jscript_matchHeight-min.js but as you can see from this link the products are still all over the place ...

http://www.ukinks.co.uk/index.php?main_page=index&cPath=1_11&sort=20a&page=5

There is an extra line in the code though that is not on your post ....

$('.centeredContent').matchHeight();
$('.specialsListBoxContents').matchHeight();
$('.centerBoxContentsAlsoPurch').matchHeight();
$('.categoryListBoxContents').matchHeight();
$('.centerBoxContentsLinks').matchHeight();

$('.no-fouc').removeClass('no-fouc'); <<=== THIS LINE HERE ??
});

}) (jQuery);

//--></script>

26 Aug 2017, 11:30
#1335
gunni avatar

gunni

Zen Follower

Join Date:
Aug 2010
Location:
Israel
Posts:
287
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

If you mean that the blocks are not the same height when text is more than one line then
I solved it @ stylesheet.css

around line 266:
.centerBoxContentsAlsoPurch, .centerBoxContentsProducts, .centerBoxContentsNew, .centerBoxContentsFeatured, .centerBoxContentsSpecials{border:1px solid #dbdbce;background:#f7f7f7;padding:20px 0px;width:30% !important;transition:background 2s ease;-webkit-transition:background 2s ease;-moz-transition: background 2s ease;-o-transition:background 2s ease;text-align:center;margin-left:15px;margin-bottom:20px;min-height: 464px;}

and change the minimum height to a higher value...

26 Aug 2017, 12:03
#1336
mcs_computers avatar

mcs_computers

Zen Follower

Join Date:
Aug 2013
Location:
Bridlington
Posts:
151
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

gunni:

If you mean that the blocks are not the same height when text is more than one line then
I solved it @ stylesheet.css

around line 266:
.centerBoxContentsAlsoPurch, .centerBoxContentsProducts, .centerBoxContentsNew, .centerBoxContentsFeatured, .centerBoxContentsSpecials{border:1px solid #dbdbce;background:#f7f7f7;padding:20px 0px;width:30% !important;transition:background 2s ease;-webkit-transition:background 2s ease;-moz-transition: background 2s ease;-o-transition:background 2s ease;text-align:center;margin-left:15px;margin-bottom:20px;min-height: 464px;}

> 
> and change the minimum height to a higher value...

Hey Gunni, this is weird. I did that originally and did not get a result so I followed DaveWest and did not get a result. I have just changed the stylesheet again and adjusted the 3 entries that relate to min-height and now it works, everything aligns perfectly.

Thanks to all concerned because between you all my issue is fixed :)
26 Aug 2017, 12:05
#1337
gunni avatar

gunni

Zen Follower

Join Date:
Aug 2010
Location:
Israel
Posts:
287
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

:thumbsup:

28 Aug 2017, 10:56
#1338
spminis avatar

spminis

Zen Follower

Join Date:
Feb 2015
Location:
USA
Posts:
194
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

A minor but annoying issue.
The "add to cart" text is located above the quantity box. How can I move it so that it aligns with the box?

An example is http://www.spminiatures.com/store/index.php?main_page=index&cPath=221

Thanks
Carol

28 Aug 2017, 11:41
#1339
spminis avatar

spminis

Zen Follower

Join Date:
Feb 2015
Location:
USA
Posts:
194
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

spminis:

A minor but annoying issue.
The "add to cart" text is located above the quantity box. How can I move it so that it aligns with the box?

An example is http://www.spminiatures.com/store/index.php?main_page=index&cPath=221

Thanks
Carol

Solved it - increased the width of the column in the admin config

Carol

04 Sep 2017, 09:46
#1340
how avatar

how

New Zenner

Join Date:
Sep 2015
Location:
Jhb, SA
Posts:
5
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

I have 2 issues on my website.

  1. My footer menu shows on every page except on my home page.
  2. If I have a Sub category it does not show the sub categories on the main page. It does however show the branch out on the categories dropdown menu on the left of the page.