Zen Cart Logo
Forums / Addon Templates / Responsive All Business Template

Responsive All Business Template

Views: 103,475

Results 381 to 393 of 393
14 Sep 2017, 11:30 PM
#381
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Responsive All Business Template

Hi - please refer to the image below - I am trying to reduce the gap between the specials, new, featured table/module and the text below it. In includes/templates/responsive all business/stylesheet module tabs I was able to find 'margin top' which I adjusted to reduce the gap to the top of the module but there is no setting for 'margin bottom'. I actually inserted a setting 'margin bottom' and added various values but it made no difference.

Any ideas?

[Attachment no longer available]

cheers,
Mike

site is https://www.treeoflifejewellery.com

15 Sep 2017, 12:53 AM
#382
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

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

Re: Responsive All Business Template

shags38:

Hi - please refer to the image below - I am trying to reduce the gap between the specials, new, featured table/module and the text below it. In includes/templates/responsive all business/stylesheet module tabs I was able to find 'margin top' which I adjusted to reduce the gap to the top of the module but there is no setting for 'margin bottom'. I actually inserted a setting 'margin bottom' and added various values but it made no difference.

Any ideas?

[Attachment no longer available]

cheers,
Mike

site is https://www.treeoflifejewellery.com

Looks like the area below the tabs can be fiddled. On your stylesshet_middleboxes.css line #47 (.middleboxContainer)you can comment out the top margin and and the padding which will bring it up quite a bit.

But there is also an empty header for a title for that content box - but even empty the header is still occupying space for an h3 header. Looks like you could fiddle with that in line #63 or #58 ( .middleboxContainer h3) Not sure if a display:none would get rid of that or if you have to track it down in the actual code and comment out the provision for it.

15 Sep 2017, 1:34 AM
#383
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Responsive All Business Template

soxophoneplayer:

Looks like the area below the tabs can be fiddled. On your stylesshet_middleboxes.css line #47 (.middleboxContainer)you can comment out the top margin and and the padding which will bring it up quite a bit.

But there is also an empty header for a title for that content box - but even empty the header is still occupying space for an h3 header. Looks like you could fiddle with that in line #63 or #58 ( .middleboxContainer h3) Not sure if a display:none would get rid of that or if you have to track it down in the actual code and comment out the provision for it.

Many thanks Soxo - your advice did the trick:smile: - I should have taken a look at stylesshet_middleboxes.css before posting :lookaroun

cheers,
Mike

17 Oct 2017, 5:43 PM
#384
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Responsive All Business Template

Hello - is it possible to change the display of this template so that it is FULL SCREEN on a desktop (without affecting its responsive aspects for mobile) ??

cheers,
Mike

[Attachment no longer available]

17 Oct 2017, 7:07 PM
#385
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Responsive All Business Template

Line 242 of the responsive.css is a start. Change the 980px to 100%.

Note: It's dangerous to mess with viewport settings in responsive templates. That should not have been 980px as doing so could force a mobile view to be totally askew.

18 Oct 2017, 5:26 AM
#386
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Responsive All Business Template

dbltoe:

Line 242 of the responsive.css is a start. Change the 980px to 100%.

Note: It's dangerous to mess with viewport settings in responsive templates. That should not have been 980px as doing so could force a mobile view to be totally askew.

Many thanks dbltoe - that did the trick. The setting of 980px was as it is in the template download, was the same for all 7 sites I have using that template - I thought the width wasn't adjustable, i.e. responsive, I thought it only worked as responsive for mobiles.

thanks again,
Mi8ke

18 Oct 2017, 3:31 PM
#387
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Responsive All Business Template

I'm sure this and earlier responsive templates were trying to emulate the previous default width settings of Zen Cart and not aware of the problems of inaccurately defining the viewport. Wasn't often discussed in the early days of responsive. Probably due to folks trying to mimic mobile when doing responsive.

18 Oct 2017, 10:58 PM
#388
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Responsive All Business Template

dbltoe:

I'm sure this and earlier responsive templates were trying to emulate the previous default width settings of Zen Cart and not aware of the problems of inaccurately defining the viewport. Wasn't often discussed in the early days of responsive. Probably due to folks trying to mimic mobile when doing responsive.

That makes sense.

So is there a way to have the 'header' adjusted to say 100% but the body of the page set at a smaller percentage? (as seems to be the way more modern templates are)

cheers,
Mike

18 Oct 2017, 11:16 PM
#389
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Responsive All Business Template

Not good to mess with the viewport. Good article on what Google recommends at http://tinyurl.com/y9nlvt4q. From September 27, 2017.

Especially follow the link to common mistakes in the Caution above the JavaScript section.

20 Oct 2017, 11:20 PM
#390
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Responsive All Business Template

dbltoe:

Not good to mess with the viewport. Good article on what Google recommends at http://tinyurl.com/y9nlvt4q. From September 27, 2017.

Especially follow the link to common mistakes in the Caution above the JavaScript section.

Now that I have page width as I want it, how can I change the width of the slide show container? - I tried modifying the stylesheet_slides.css without luck.

cheers,
Mike

24 Oct 2017, 4:30 AM
#391
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Responsive All Business Template

pulling my hair out here .... slider ... I have tried everything I can think of and more to modify the slide show width successfully - I have it partially done (width) BUT there is now an enormous gap between the slides and the navigation controls.

I have read this thread front to back and then backwards and cannot find a solution. Even deleting the controls altogether would be a satisfactory solution but I can't find a way to do that either.

Any assistance will be appreciated.

cheers,
Mike
https://www.treeoflifejewellery.com

12 Dec 2018, 4:53 PM
#392
mrcastle avatar

mrcastle

Zen Follower

Join Date:
Feb 2010
Posts:
205
Plugin Contributions:
0

Re: Responsive All Business Template

Hi, could you please let me know where I might find the settings to center the songbooks on this page ? I know it's in one of the CSS files but I'm not a programmer... just need to get an idea where to look so I can tinker with it. It looks fine on the mobile phone. Thx

3 Oct 2019, 4:42 AM
#393
mrmcastle avatar

mrmcastle

New Zenner

Join Date:
Apr 2019
Location:
Orange, CA
Posts:
22
Plugin Contributions:
0

Re: Responsive All Business Template

Hi Anne, could you please let me know which file has settings for grid vs list on the mobile side ? This is in regards to the users being able to select the filter results .... I would like to set my default to list instead of grid. Can I assume changing the settings for this file would have no impact on the desktop side or would it be a site-wide change ? Thank you in advance for your help.