If this is your first visit, check our documentation. To post, register or login.
Forums / Addon Templates / Dover Fine Responsive Template

Dover Fine Responsive Template

Started by picaflor_azul on 31 May 2014, 8:40 PM · Views: 136,988

Results 321 to 340 of 496
13 Apr 2015, 12:59 PM
#322
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: Dover Fine Responsive Template

picaflor-azul:

I am happy it worked for you ;)

Thanks,

Anne

Sorry, I did mean to add a thank you to my post.

I have created 2 new pages: page_2 and page_3, but I am getting horizontal scroll bars for tablet and phone resolution.

The only difference I can see is where the body id is page for the standard pages, but for the two new pages its page2body. But I cannot locate any css that may be causing the conflict.

Please, I welcome any advice. :shocking:

Debbie Harrison
DVH Design | Web Design blog

13 Apr 2015, 2:41 PM
#323
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Dover Fine Responsive Template

dharrison:

Sorry, I did mean to add a thank you to my post.

I have created 2 new pages: page_2 and page_3, but I am getting horizontal scroll bars for tablet and phone resolution.

The only difference I can see is where the body id is page for the standard pages, but for the two new pages its page2body. But I cannot locate any css that may be causing the conflict.

Please, I welcome any advice. :shocking:

If I were trouble shooting it I would use the web developer tools and start putting display:none; on elements until I found the one that was breaking the page.

Thanks,

Anne

13 Apr 2015, 8:30 PM
#324
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: Dover Fine Responsive Template

I have been doing so all night. All the other pages (about us, etc) resize well, but for some reason, what was page 2 and page 3, leave horizontal scroll barson smartphone and tablet setup.

I have run page 2 and about us on Winmerge and with exception to the body id, its all pretty much the same. There isn't any custom styling that appear to be affecting these two pages. :wacko:

Debbie Harrison
DVH Design | Web Design blog

13 Apr 2015, 9:46 PM
#325
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Dover Fine Responsive Template

dharrison:

I have been doing so all night. All the other pages (about us, etc) resize well, but for some reason, what was page 2 and page 3, leave horizontal scroll barson smartphone and tablet setup.

I have run page 2 and about us on Winmerge and with exception to the body id, its all pretty much the same. There isn't any custom styling that appear to be affecting these two pages. :wacko:

What happens when you take all of the content out of the page?

Thanks,

Anne

14 Apr 2015, 5:34 AM
#326
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: Dover Fine Responsive Template

picaflor-azul:

What happens when you take all of the content out of the page?

Same story. The content is only paragraphs and a numbered list. the wholething remedies itself when I hide .content But I need that!

Debbie Harrison
DVH Design | Web Design blog

14 Apr 2015, 4:35 PM
#327
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Dover Fine Responsive Template

dharrison:

Same story. The content is only paragraphs and a numbered list. the wholething remedies itself when I hide .content But I need that!

Then you have figured out what is causing the problem ;) Just eliminate all css styles on this element and those that are cascading one by one to find the offender.

Thanks,

Anne

26 Apr 2015, 3:24 PM
#328
andy_m avatar

andy_m

New Zenner

Join Date:
Apr 2015
Location:
United States
Posts:
15
Plugin Contributions:
0

Re: Dover Fine Responsive Template

batracy:

Hmph, seems I found another problem. When trying to navigate on my iPhone 5 the screen behaves badly - as in instead of scrolling to allow selection of menu items, it just clears and goes back to the home page at the moment when the browser bar at the top and the browser options bar at the bottom clear.

I tested this on the simulator and it worked fine - just does it on the actual phone. Any ideas?

I struggled with this and found the fix.. actually 2 fixes I think are out there.. and they are related to the
includes/templates/******/jscript/jquery.slimmenu.min.js
file.

This thread offers one solution (I didn't try this one)..
https://www.zen-cart.com/showthread.php?213334-Westminster-New/page60

and another (the one that worked for me) is found here..
https://github.com/adnantopal/slimmenu/blob/master/jquery.slimmenu.min.js

which uses this code..

(function(e,c,a,g){var d="slimmenu",f={resizeWidth:"768",collapserTitle:"Main Menu",animSpeed:"medium",easingEffect:null,indentChildren:false,childrenIndenter:"  "};function b(i,h){this.element=i;this.$elem=e(this.element);this.options=e.extend({},f,h);this.oldwidth=0;this.init()}b.prototype={init:function(){var h=this.options,j=this.$elem,i='<div class="menu-collapser">'+h.collapserTitle+'<div class="collapse-button"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></div></div>',k;j.before(i);k=j.prev(".menu-collapser");j.on("click",".sub-collapser",function(m){m.preventDefault();m.stopPropagation();var l=e(this).closest("li");if(e(this).hasClass("expanded")){e(this).removeClass("expanded");e(this).find("i").html("▼");l.find(">ul").slideUp(h.animSpeed,h.easingEffect)}else{e(this).addClass("expanded");e(this).find("i").html("▲");l.find(">ul").slideDown(h.animSpeed,h.easingEffect)}});k.on("click",".collapse-button",function(l){l.preventDefault();j.slideToggle(h.animSpeed,h.easingEffect)});this.resizeMenu({data:{el:this.element,options:this.options}});e(c).on("resize",{el:this.element,options:this.options},this.resizeMenu);e(c).trigger("resize")},resizeMenu:function(l){var m=e(c),h=l.data.options,j=e(l.data.el),k=e("body").find(".menu-collapser");var i=m.width();if(c.innerWidth!==g){if(c.innerWidth>i){i=c.innerWidth}}if(i!=this.oldwidth){this.oldwidth=i;j.find("li").each(function(){if(e(this).has("ul").length){if(e(this).has(".sub-collapser").length){e(this).children(".sub-collapser i").html("▼")}else{e(this).append('<span class="sub-collapser"><i>▼</i></span>')}}e(this).children("ul").hide();e(this).find(".sub-collapser").removeClass("expanded").children("i").html("▼")});if(h.resizeWidth>=i){if(h.indentChildren){j.find("ul").each(function(){var n=e(this).parents("ul").length;if(!e(this).children("li").children("a").has("i").length){e(this).children("li").children("a").prepend(b.prototype.indent(n,h))}})}j.find("li").has("ul").off("mouseenter mouseleave");j.addClass("collapsed").hide();k.show()}else{j.find("li").has("ul").on("mouseenter",function(){e(this).find(">ul").stop().slideDown(h.animSpeed,h.easingEffect)}).on("mouseleave",function(){e(this).find(">ul").stop().slideUp(h.animSpeed,h.easingEffect)});j.find("li > a > i").remove();j.removeClass("collapsed").show();k.hide()}}},indent:function(k,j){var h="";for(var l=0;l<k;l++){h+=j.childrenIndenter}return"<i>"+h+"</i>"}};e.fn[d]=function(h){return this.each(function(){if(!e.data(this,"plugin_"+d)){e.data(this,"plugin_"+d,new b(this,h))}})}})(jQuery,window,document);

Hope that helps! Totally fixed my SlimMenu problems on the iphone.

-Andy

26 Apr 2015, 3:31 PM
#329
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Dover Fine Responsive Template

Andy_M:

I struggled with this and found the fix.. actually 2 fixes I think are out there.. and they are related to the
includes/templates/******/jscript/jquery.slimmenu.min.js
file.

This thread offers one solution (I didn't try this one)..
https://www.zen-cart.com/showthread.php?213334-Westminster-New/page60

and another (the one that worked for me) is found here..
https://github.com/adnantopal/slimmenu/blob/master/jquery.slimmenu.min.js

which uses this code..

(function(e,c,a,g){var d="slimmenu",f={resizeWidth:"768",collapserTitle:"Main Menu",animSpeed:"medium",easingEffect:null,indentChildren:false,childrenIndenter:"####"};function b(i,h){this.element=i;this.$elem=e(this.element);this.options=e.extend({},f,h);this.oldwidth=0;this.init()}b.prototype={init:function(){var h=this.options,j=this.$elem,i='<div class="menu-collapser">'+h.collapserTitle+'<div class="collapse-button"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></div></div>',k;j.before(i);k=j.prev(".menu-collapser");j.on("click",".sub-collapser",function(m){m.preventDefault();m.stopPropagation();var l=e(this).closest("li");if(e(this).hasClass("expanded")){e(this).removeClass("expanded");e(this).find("i").html("▼");l.find(">ul").slideUp(h.animSpeed,h.easingEffect)}else{e(this).addClass("expanded");e(this).find("i").html("▲");l.find(">ul").slideDown(h.animSpeed,h.easingEffect)}});k.on("click",".collapse-button",function(l){l.preventDefault();j.slideToggle(h.animSpeed,h.easingEffect)});this.resizeMenu({data:{el:this.element,options:this.options}});e(c).on("resize",{el:this.element,options:this.options},this.resizeMenu);e(c).trigger("resize")},resizeMenu:function(l){var m=e(c),h=l.data.options,j=e(l.data.el),k=e("body").find(".menu-collapser");var i=m.width();if(c.innerWidth!==g){if(c.innerWidth>i){i=c.innerWidth}}if(i!=this.oldwidth){this.oldwidth=i;j.find("li").each(function(){if(e(this).has("ul").length){if(e(this).has(".sub-collapser").length){e(this).children(".sub-collapser i").html("▼")}else{e(this).append('<span class="sub-collapser"><i>▼</i></span>')}}e(this).children("ul").hide();e(this).find(".sub-collapser").removeClass("expanded").children("i").html("▼")});if(h.resizeWidth>=i){if(h.indentChildren){j.find("ul").each(function(){var n=e(this).parents("ul").length;if(!e(this).children("li").children("a").has("i").length){e(this).children("li").children("a").prepend(b.prototype.indent(n,h))}})}j.find("li").has("ul").off("mouseenter mouseleave");j.addClass("collapsed").hide();k.show()}else{j.find("li").has("ul").on("mouseenter",function(){e(this).find(">ul").stop().slideDown(h.animSpeed,h.easingEffect)}).on("mouseleave",function(){e(this).find(">ul").stop().slideUp(h.animSpeed,h.easingEffect)});j.find("li > a > i").remove();j.removeClass("collapsed").show();k.hide()}}},indent:function(k,j){var h="";for(var l=0;l<k;l++){h+=j.childrenIndenter}return"<i>"+h+"</i>"}};e.fn[d]=function(h){return this.each(function(){if(!e.data(this,"plugin_"+d)){e.data(this,"plugin_"+d,new b(this,h))}})}})(jQuery,window,document);

> 
> Hope that helps!  Totally fixed my SlimMenu problems on the iphone.
> 
> -Andy

There is a patch posted for the slimmenu fix in the Westminster New template thread.  I will be adding the patch to this package when I do the next update.

Thanks,

Anne
27 Apr 2015, 1:39 AM
#330
andy_m avatar

andy_m

New Zenner

Join Date:
Apr 2015
Location:
United States
Posts:
15
Plugin Contributions:
0

Re: Dover Fine Responsive Template

Hi Anne,

First.. Thanks for all your hard work on these templates!!

I don't know if there is a solution for this one but I tested my site on a tablet, Acer Iconia Tab, resolution 1920x1200, in Portrait mode, using chrome browser, and I am unable to select the Slim Menu dropdown as it is mostly hidden at the top of the page...
Attachment #15225

Kinda weird. If you have any ideas, let me know.

Thanks!

Andy

27 Apr 2015, 5:03 PM
#331
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Dover Fine Responsive Template

Andy_M:

Hi Anne,

First.. Thanks for all your hard work on these templates!!

I don't know if there is a solution for this one but I tested my site on a tablet, Acer Iconia Tab, resolution 1920x1200, in Portrait mode, using chrome browser, and I am unable to select the Slim Menu dropdown as it is mostly hidden at the top of the page...
Attachment #15225

Kinda weird. If you have any ideas, let me know.

Thanks!

Andy

If you post a link to your site I can take a look.

Thanks,

Anne

27 Apr 2015, 7:08 PM
#332
tsmedia avatar

tsmedia

New Zenner

Join Date:
Apr 2015
Posts:
6
Plugin Contributions:
0

Re: Dover Fine Responsive Template

Per the screen attachment I'd almost be this is the link http://juliescrossstitch.com/ZenCart154/ I have been eying this template for sometime now

27 Apr 2015, 8:35 PM
#333
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Dover Fine Responsive Template

picaflor-azul:

If you post a link to your site I can take a look.

Thanks,

Anne

The template has not been tested with this device. I don't have this device and can not test for it unless there is an emulator online for it. If you can find an emulator I can take a look.

Thanks,

Anne

1 May 2015, 4:46 AM
#334
andy_m avatar

andy_m

New Zenner

Join Date:
Apr 2015
Location:
United States
Posts:
15
Plugin Contributions:
0

Re: Dover Fine Responsive Template

picaflor-azul:

The template has not been tested with this device. I don't have this device and can not test for it unless there is an emulator online for it. If you can find an emulator I can take a look.

Thanks,

Anne

Hi,
I don't have an emulator to offer. I think this tablet may be an odd resolution. I can live with it as it looks fine in landscape mode. Thanks.

I will post back if I find anything more.

Andy

2 May 2015, 11:42 AM
#335
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,759
Plugin Contributions:
56

Re: Dover Fine Responsive Template

Ann, the version on your site still has the bug that was fixed in version 1.1 in the plugins area - probably a good idea to update there or point to the plugins so there's only one copy to maintain.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

2 May 2015, 12:20 PM
#336
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,759
Plugin Contributions:
56

Re: Dover Fine Responsive Template

Template displays checkout link even when cart is empty. Clicking it shows the "Whoops" message.

Solution: in includes/templates/dover_fine/common/tpl_header.php
wrap the FILENAME_CHECKOUT_SHIPPING link
with

<?php if ($_SESSION['cart']->count_contents() != 0) { ?>

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

2 May 2015, 1:23 PM
#337
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,759
Plugin Contributions:
56

Re: Dover Fine Responsive Template

I didn't really like that the login, contact us, etc. links were not shown on the home page. Fix: modify includes/templates/dover_fine/css/index_home.css and remove the first line which sets display to none for this block.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

2 May 2015, 1:48 PM
#338
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,759
Plugin Contributions:
56

Re: Dover Fine Responsive Template

In the documentation the instructions for turning off the slideshow refer to a setting that doesn't exist ("Home Page Slideshow"). As you suggested in an earlier post, I modified ./includes/templates/dover_fine/common/tpl_main_page.php to remove this logic.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

2 May 2015, 4:54 PM
#339
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,759
Plugin Contributions:
56

Re: Dover Fine Responsive Template

Turning on items in the centerbox on the home page (for example, Admin->Layout Settings->Categories - Always Show on Main Page or Admin->Configuration->Index Listing->Show Featured Products on Main Page - Category with SubCategories) overwrites the left menu on desktop - adjustment needed to the css? (Works ok on mobile.)

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

3 May 2015, 1:34 AM
#340
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Dover Fine Responsive Template

swguy:

Turning on items in the centerbox on the home page (for example, Admin->Layout Settings->Categories - Always Show on Main Page or Admin->Configuration->Index Listing->Show Featured Products on Main Page - Category with SubCategories) overwrites the left menu on desktop - adjustment needed to the css? (Works ok on mobile.)

Thanks for all of the input and suggestions ;) I will make notes and get these fixed in the template package update.

Thanks,

Anne