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 341 to 360 of 496
3 May 2015, 10:50 AM
#341
swguy avatar

swguy

Administrator

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

Dover Fine Responsive Template

Thank you so much!

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, 11:32 AM
#342
swguy avatar

swguy

Administrator

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

Re: Dover Fine Responsive Template

Probably obvious, but just in case: this is the only one I really need an answer for.

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.)

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, 2:15 PM
#344
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:

Probably obvious, but just in case: this is the only one I really need an answer for.

If you want the center content to be on top of the background slide show, in responsive_default.css you need to change this:

margin-left: 0;

to this:

margin-left: 0;
position: relative;
z-index: 11;

Thanks,

Anne

3 May 2015, 2:58 PM
#345
swguy avatar

swguy

Administrator

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

Re: Dover Fine Responsive Template

I don't use the slideshow - I just wanted the centerbox content to be to the right of the menu. As you suggested I changed responsive_default.css from

[class*="col"]{margin-left:0;}

to

[class*="col"]{margin-left:0;
position: relative;
z-index: 11;
}

and it worked a treat! Thanks so much.

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, 4:44 PM
#346
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:

I don't use the slideshow - I just wanted the centerbox content to be to the right of the menu. As you suggested I changed responsive_default.css from

[class*="col"]{margin-left:0;}

to

[class*="col"]{margin-left:0;
position: relative;
z-index: 11;
}

and it worked a treat! Thanks so much.

No problem ;) Thank you for posting the code improvements. I really appreciate it!

Thanks,

Anne

3 May 2015, 4:46 PM
#347
swguy avatar

swguy

Administrator

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

Re: Dover Fine Responsive Template

LOL speaking from experience: every FAQ entry you add to your docs makes supporting your work easier. "See the FAQ!" is something I love writing. :)

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.

14 May 2015, 1:32 AM
#348
andy_m avatar

andy_m

New Zenner

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

Re: Dover Fine Responsive Template

Help with Shifting Page Content in Tablet Mode...

Anne,

I don't know if you can help, but it seems as though I have done something to cause the main page info to start shifting down underneath the left-menu now in tablet view. It is doing this on both my ACER tablet and my IPAD... (Normal Computer view is still fine)

Attachment #15294

The test site is here if you want to see live..
h t t p://juliescrossstitch.com/ZenCart154/index.php?main_page=shopping_cart

Maybe somewhere in the CSS docs having to do with section width??

14 May 2015, 3:22 PM
#349
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

[QUOTE=Andy_M;1282040]Help with Shifting Page Content in Tablet Mode...

Anne,

I don't know if you can help, but it seems as though I have done something to cause the main page info to start shifting down underneath the left-menu now in tablet view. It is doing this on both my ACER tablet and my IPAD... (Normal Computer view is still fine)

Attachment #15294

The test site is here if you want to see live..
h t t p://juliescrossstitch.com/ZenCart154/index.php?main_page=shopping_cart

I would recommend back tracking through your modifications until you find the one that broke the responsive layout.

Thanks,

Anne

15 May 2015, 3:53 AM
#350
andy_m avatar

andy_m

New Zenner

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

Re: Dover Fine Responsive Template

Thanks.. I found it.

Had a <b> without a </b> in my modified
blank_sidebox_defines.php file.

in case anyone wants it.. I have added Login-My Account-Contact Us links in the side menu under the Social Media icons...
Attachment #15299

by changing the file
/includes/languages/english/extra_definitions/dover_fine/blank_sidebox_defines.php

file to be...

define('BOX_HEADING_BLANK_SIDEBOX', 'Blank Sidebox Header');
if ($_SESSION['customer_id']) {
  define('TEXT_BLANK_SIDEBOX', 
       '<a href="https://www.facebook.com/pages/XXXXXXXXX" target="_blank"><i class="fa fa-facebook"></i></a>
        <a href="https://twitter.com/XXXXXXXX" target="_blank"><i class="fa fa-twitter"></i></a>
        <a href="https://www.pinterest.com/XXXXXXXXXX" target="_blank"><i class="fa fa-pinterest"></i></a>
        <a href="https://www.youtube.com/user/XXXXXXXXXX" target="_blank"><i class="fa fa-youtube"></i></a>
        <br><br>
        <b><a href="' . zen_href_link(FILENAME_LOGOFF, '', 'SSL') . '">  ' . HEADER_TITLE_LOGOFF . '  </a>
        - <a href="' . zen_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . HEADER_TITLE_MY_ACCOUNT . '  </a>
        - <a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">Contact Us</a></b>
        ');
      } else {        
  define('TEXT_BLANK_SIDEBOX', 
       '<a href="https://www.facebook.com/pages/XXXXXXXXX" target="_blank"><i class="fa fa-facebook"></i></a>
        <a href="https://twitter.com/XXXXXXXX" target="_blank"><i class="fa fa-twitter"></i></a>
        <a href="https://www.pinterest.com/XXXXXXXXXX" target="_blank"><i class="fa fa-pinterest"></i></a>
        <a href="https://www.youtube.com/user/XXXXXXXXXX" target="_blank"><i class="fa fa-youtube"></i></a>
        <br><br>
        <b><a href="' . zen_href_link(FILENAME_LOGIN, '', 'SSL') . '">  ' . HEADER_TITLE_LOGIN . '</a> 
        - <a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">Contact Us</a></b>
        ');
    }

I found it useful to have these links here since they do not show on the main page with only the slideshow.

Thanks for such a great template Anne!!!

;)

17 May 2015, 5:36 PM
#351
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:

Thanks.. I found it.

Had a <b> without a </b> in my modified
blank_sidebox_defines.php file.

in case anyone wants it.. I have added Login-My Account-Contact Us links in the side menu under the Social Media icons...
Attachment #15299

by changing the file
/includes/languages/english/extra_definitions/dover_fine/blank_sidebox_defines.php

file to be...

define('BOX_HEADING_BLANK_SIDEBOX', 'Blank Sidebox Header');
if ($_SESSION['customer_id']) {
define('TEXT_BLANK_SIDEBOX',
'<a href="https://www.facebook.com/pages/XXXXXXXXX" target="_blank"><i class="fa fa-facebook"></i></a>
<a href="https://twitter.com/XXXXXXXX" target="_blank"><i class="fa fa-twitter"></i></a>
<a href="https://www.pinterest.com/XXXXXXXXXX" target="_blank"><i class="fa fa-pinterest"></i></a>
<a href="https://www.youtube.com/user/XXXXXXXXXX" target="_blank"><i class="fa fa-youtube"></i></a>
<br><br>
<b><a href="' . zen_href_link(FILENAME_LOGOFF, '', 'SSL') . '"> ' . HEADER_TITLE_LOGOFF . ' </a>
- <a href="' . zen_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . HEADER_TITLE_MY_ACCOUNT . ' </a>
- <a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">Contact Us</a></b>
');
} else {
define('TEXT_BLANK_SIDEBOX',
'<a href="https://www.facebook.com/pages/XXXXXXXXX" target="_blank"><i class="fa fa-facebook"></i></a>
<a href="https://twitter.com/XXXXXXXX" target="_blank"><i class="fa fa-twitter"></i></a>
<a href="https://www.pinterest.com/XXXXXXXXXX" target="_blank"><i class="fa fa-pinterest"></i></a>
<a href="https://www.youtube.com/user/XXXXXXXXXX" target="_blank"><i class="fa fa-youtube"></i></a>
<br><br>
<b><a href="' . zen_href_link(FILENAME_LOGIN, '', 'SSL') . '"> ' . HEADER_TITLE_LOGIN . '</a>
- <a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">Contact Us</a></b>
');
}

> 
> I found it useful to have these links here since they do not show on the main page with only the slideshow.
> 
> Thanks for such a great template Anne!!!
> 
> ;)

I am happy that you figured it out and posted your solution ;)  With the responsive design you do have to be very careful about matching up closing html tags!

Thanks,

Anne
17 May 2015, 5:47 PM
#352
batracy avatar

batracy

New Zenner

Join Date:
Jun 2012
Posts:
57
Plugin Contributions:
1

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

Thanks Andy (and Anne)!

Interesting note, I went to the second link you provided and got the code, uploaded it and found no change to the issue. However, when I copied the code embedded here on your response and uploaded it, works like a charm! So, for others with this issue, code at link doesn't work, code embedded here does.

Thanks again!
17 May 2015, 7:42 PM
#353
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

batracy:

Thanks Andy (and Anne)!

Interesting note, I went to the second link you provided and got the code, uploaded it and found no change to the issue. However, when I copied the code embedded here on your response and uploaded it, works like a charm! So, for others with this issue, code at link doesn't work, code embedded here does.

Thanks again!

I am happy that you figured it out ;)

Thanks,

Anne

23 May 2015, 10:49 PM
#354
andy_m avatar

andy_m

New Zenner

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

Re: Dover Fine Responsive Template

Anne,

How can I make it so the EZ Pages do not display in mobile or tablet view but do show on a normal website view??

as you can see here the EZ Page Menu (here titled "Stitching Topics") is kind of obtrusive on the mobile view..

Attachment #15316

Thanks!

Andy

24 May 2015, 2:22 PM
#355
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:

Anne,

How can I make it so the EZ Pages do not display in mobile or tablet view but do show on a normal website view??

as you can see here the EZ Page Menu (here titled "Stitching Topics") is kind of obtrusive on the mobile view..

Attachment #15316

Thanks!

Andy

Turn off the sidebox in the Show Box @ Min-Width column if you do not want them to show on phones.

Thanks,

Anne

24 May 2015, 3:03 PM
#356
andy_m avatar

andy_m

New Zenner

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

Re: Dover Fine Responsive Template

Thanks! Don't know why I missed that.

31 May 2015, 6:14 AM
#358
peter_s avatar

peter_s

New Zenner

Join Date:
May 2015
Location:
england
Posts:
12
Plugin Contributions:
0

Re: Dover Fine Responsive Template

Many Thanks for providing this incredible deign Anne,
This is my first website and I am learning quite a lot from it. However I have run into a brick wall of sorts, This is probably a very simple question to answer for some of you.

How do I change the font that is being used ? I have spend the last couple of hours trying to find out, but can't seem to find any clear information on how to do this simple thing :)

31 May 2015, 6:53 AM
#359
peter_s avatar

peter_s

New Zenner

Join Date:
May 2015
Location:
england
Posts:
12
Plugin Contributions:
0

Re: Dover Fine Responsive Template

Never mind, Found the answer :)
Added

<link href='http://fonts.googleapis.com/css?family=Josefin+Sans:600' rel='stylesheet' type='text/css'> /public_html/includes/templates/dover_fine/common/html.header.php
31 May 2015, 3:00 PM
#360
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

peter-s:

Never mind, Found the answer :)
Added

<link href='http://fonts.googleapis.com/css?family=Josefin+Sans:600' rel='stylesheet' type='text/css'> /public_html/includes/templates/dover_fine/common/html.header.php

Yes, just make sure it will validate:

<link href='http://fonts.googleapis.com/css?family=Josefin+Sans:600' rel='stylesheet' type='text/css' /> 

Thanks,

Anne