Totally Zenned
- Join Date:
- Jul 2009
- Location:
- picaflor-azul.com
- Posts:
- 6,940
- Plugin Contributions:
- 28
Dover Fine Responsive Template
dharrison:
Yeh you are right,that was a lot easier. :blush:
I am happy it worked for you ;)
Thanks,
Anne
Totally Zenned
dharrison:
Yeh you are right,that was a lot easier. :blush:
I am happy it worked for you ;)
Thanks,
Anne
Zen Follower
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
Totally Zenned
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
Zen Follower
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
Totally Zenned
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
Zen Follower
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
Totally Zenned
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
New Zenner
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
Totally Zenned
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/page60and another (the one that worked for me) is found here..
https://github.com/adnantopal/slimmenu/blob/master/jquery.slimmenu.min.jswhich 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
New Zenner
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
Totally Zenned
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 #15225Kinda 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
New Zenner
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
Totally Zenned
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
New Zenner
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
Administrator
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.
Administrator
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
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.
Administrator
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.
Administrator
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.
Administrator
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.
Totally Zenned
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
Tell staff why this post should be reviewed.