Forums / Templates, Stylesheets, Page Layout / Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Sticky

Started by picaflor_azul on 16 Mar 2016, 11:30 PM · Views: 363,092

Results 661 to 680 of 1,106
24 Nov 2018, 3:51 AM
#661
davewest avatar

davewest

Totally Zenned

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

Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

idtags:

Thank you, this resolves the problem with image.

Can you advise on second question: On the same page under image, how to increase slightly spacing between lines?
Inspect Element option does not show any parameter in CSS it could be done.
We can not find spacing control in CK-Editor as well.
How people handle it?

Any suggestion is appreciated.

Lot of information in googling... css line height gets this page https://www.w3schools.com/cssref/pr_dim_line-height.asp

You can add your own style sheet or attach to an existing element..

Dave
Always forward thinking... Lost my mind!

24 Nov 2018, 2:52 PM
#662
idtags avatar

idtags

Zen Follower

Join Date:
Aug 2005
Posts:
315
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

davewest:

Lot of information in googling... css line height gets this page https://www.w3schools.com/cssref/pr_dim_line-height.asp

You can add your own style sheet or attach to an existing element..

Thank you for pointing in right direction.
This site opened a "new world" and i got an idea that these codes can be added to CCS in custom folder.

Thank you again it worked!. :smile:

24 Nov 2018, 4:24 PM
#663
idtags avatar

idtags

Zen Follower

Join Date:
Aug 2005
Posts:
315
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

soxophoneplayer:

I don't recall signing in or signing up for this - I think whoever put the code in the template file originally likely did to get the script. I checked out your link and it looks like you can get other formats of the same thing which you would use in place of what I did. (Also - it was several years ago that I did this and may have forgotten something, but I don't think so.) Maybe try putting the code in (after backing up of course) and see what if it works for you, or try on a test site if you have.

Thank you again for explanation.
I tested it and it works! :smile:

Now we need to create all these social media accounts.

26 Nov 2018, 10:28 AM
#664
royaldave avatar

royaldave

Zen Follower

Join Date:
Aug 2013
Location:
Perth, WA, AU
Posts:
285
Plugin Contributions:
1

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

royaldave:

my bad - test site -

http://61.245.139.145/zencart/

my bad again .. son turned off test linux box because it was 'too noisy' - up again ...

26 Nov 2018, 7:43 PM
#665
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

royaldave:

my bad again .. son turned off test linux box because it was 'too noisy' - up again ...Can't even get to checkout in mobile. WAY too many problems with the site. Your hover over Home, Log In, etc is set to the wrong color. That's a common foul up when dealing with the responsive classic without breaking out the colors.

I cannot get the mobile to give me any screen but log in.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

7 Dec 2018, 5:40 PM
#666
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

I have EZ Pages set up on my site, some of which are not displayed in the header, and are only available in the sidebar.

The code for displaying ezpages in the mobile menu is:

<?php  include(DIR_WS_MODULES . zen_get_module_directory('ezpages_bar_header.php'));  if (sizeof($var_linksList) >= 1) {    for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) {      echo '<li><a href="' . $var_linksList[$i]['link'] . '">' . $var_linksList[$i]['name'] . '</a></li>' . "\n";    }  }?>

So what do I need to change this to in order to display the ezpages links that are available in the sidebar? (the ezpages that are available in the header are also available in the sidebar).

I tried this but it doesn't display properly.

<?php  include(DIR_WS_MODULES . zen_get_module_directory('sidebar/ezpages.php'));  if (sizeof($var_linksList) >= 1) {    for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) {      echo '<li><a href="' . $var_linksList[$i]['link'] . '">' . $var_linksList[$i]['name'] . '</a></li>' . "\n";    }  }?>

Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk

12 Dec 2018, 5:13 PM
#667
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

I just acquired an Ipad2 at a yard sale. Good score for $20. But zencart has a horrible rendering with safari. Then I realized that I had jscript disable in safari settings. After enabling jscript it works fine.

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

20 Dec 2018, 7:05 PM
#668
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

ZC 1.55.5f Responsive_classic
Apache Version 2.4.34
PHP Version 7.0
MySQL Version 10.2.18-MariaDB
Plugins:
ColumnGridLayout_for_155f
CheckBoxTextBoxIconV1.0.3

(possible oversight) with the responsive_classic template.

I need a way to hide specific categories in the Mobile sidebox menu.

When using the below method to hide a category the designated Category [ID#2} gets hidden in the {full screen} sidebox menu but NOT in Category Tabs menu.
This causes the sidebox menu in Mobile to NOT hide the designated Category as I believe it uses the Category Tabs code.
Existing code:

/includes/templates/responsive_classic/sideboxes/tpl_categories.php
// to make a specific category stand out define a new class in the stylesheet example: A.category-holiday
// uncomment the select below and set the cPath=3 to the cPath= your_categories_id
// many variations of this can be done
//      case ($box_categories_array[$i]['path'] == 'cPath=3'):
//        $new_style = 'category-holiday';
//        break;

    case ($box_categories_array[$i]['path'] == 'cPath=2'):
        $new_style = 'category_hide';
        break;
    case ($box_categories_array[$i]['path'] == 'cPath=1'):
        $new_style = 'category_hide1';
        break;
   case ($box_categories_array[$i]['path'] == 'cPath=3'):
        $new_style = 'category_hide2';
        break;
CSS:
includes/templates/responsive_classic/css/stylesheet.css
/* Hide Categories but are clickable*/
A.category_hide {
	color: #000000;
	font-size:14px;
	text-decoration: none;
}
/* Display but make specific categories unclickable */
A.category_hide1, A.category_hide2 {
	cursor: pointer;
	font-weight: normal;
	line-height: 175%;
	pointer-events: none;
	text-decoration: none;
	display: inline-block;
}

Thanks, for your time.

21 Dec 2018, 9:35 AM
#669
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Nick1973:

I have EZ Pages set up on my site, some of which are not displayed in the header, and are only available in the sidebar.

The code for displaying ezpages in the mobile menu is:

<?php include(DIR_WS_MODULES . zen_get_module_directory('ezpages_bar_header.php')); if (sizeof($var_linksList) >= 1) { for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { echo '<li><a href="' . $var_linksList[$i]['link'] . '">' . $var_linksList[$i]['name'] . '</a></li>' . "\n"; } }?>
> 
> So what do I need to change this to in order to display the ezpages links that are available in the sidebar? (the ezpages that are available in the header are also available in the sidebar).
> 
> I tried this but it doesn't display properly.
> 
> ```php
<?php  include(DIR_WS_MODULES . zen_get_module_directory('sidebar/ezpages.php'));  if (sizeof($var_linksList) >= 1) {    for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) {      echo '<li><a href="' . $var_linksList[$i]['link'] . '">' . $var_linksList[$i]['name'] . '</a></li>' . "\n";    }  }?>

Does anybody have an answer to this please? I am looking to display ALL my EZ Pages in the mobile menu, not the ones that are checked in the admin just for the header. So no matter if they are checked for Header, Sidebar, Footer, they should ALL display in the mobile menu. Tried a few things but none seem to work.

Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk

21 Dec 2018, 12:20 PM
#670
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Nick1973:

Does anybody have an answer to this please? I am looking to display ALL my EZ Pages in the mobile menu, not the ones that are checked in the admin just for the header. So no matter if they are checked for Header, Sidebar, Footer, they should ALL display in the mobile menu. Tried a few things but none seem to work.

I've resolved this myself now and created a module which is currently under review. Will post a link here once its added to the module library.

Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk

28 Dec 2018, 5:50 PM
#671
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

linuxguy2:

ZC 1.55.5f Responsive_classic
Apache Version 2.4.34
PHP Version 7.0
MySQL Version 10.2.18-MariaDB
Plugins:
ColumnGridLayout_for_155f
CheckBoxTextBoxIconV1.0.3

(possible oversight) with the responsive_classic template.

I need a way to hide specific categories in the Mobile sidebox menu.

When using the below method to hide a category the designated Category [ID#2} gets hidden in the {full screen} sidebox menu but NOT in Category Tabs menu.
This causes the sidebox menu in Mobile to NOT hide the designated Category as I believe it uses the Category Tabs code.
Existing code:

/includes/templates/responsive_classic/sideboxes/tpl_categories.php
// to make a specific category stand out define a new class in the stylesheet example: A.category-holiday
// uncomment the select below and set the cPath=3 to the cPath= your_categories_id
// many variations of this can be done
// case ($box_categories_array[$i]['path'] == 'cPath=3'):
// $new_style = 'category-holiday';
// break;

case ($box_categories_array[$i]['path'] == 'cPath=2'):
    $new_style = 'category_hide';
    break;
case ($box_categories_array[$i]['path'] == 'cPath=1'):
    $new_style = 'category_hide1';
    break;

case ($box_categories_array[$i]['path'] == 'cPath=3'):
$new_style = 'category_hide2';
break;

> ```
CSS:
includes/templates/responsive_classic/css/stylesheet.css
/* Hide Categories but are clickable*/
A.category_hide {
	color: #000000;
	font-size:14px;
	text-decoration: none;
}
/* Display but make specific categories unclickable */
A.category_hide1, A.category_hide2 {
	cursor: pointer;
	font-weight: normal;
	line-height: 175%;
	pointer-events: none;
	text-decoration: none;
	display: inline-block;
}

Thanks, for your time.

Any guidance on how to apply the above behavior to the mobile menu would be greatly appreciated.
I have tried many things but no joy. Also none of the existing plugins did the trick.
Because this was built into non-mobile menu I'm thinking it should be just as simple to do to the mobile menu i just can't quite figure it out.

5 Jan 2019, 12:14 AM
#672
coinguydavid avatar

coinguydavid

New Zenner

Join Date:
Jan 2019
Location:
California
Posts:
4
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Hi all, a couple of questions I could not find the answers to in reading through this thread. Hoping someone might be able to point me in the right direction. For reference, the site I'm building is https://www.thecoinauthority.com.

  1. My ideal look would be to place the mobile menu (with hamburger icon) to the left of the search bar below the logo. When you click the hamburger icon I want the menu to behave the same, and ideally would become fixed at the top of the window as you scroll (once you scroll past logo).

If #1 is too complicated to implement, then is there a way I can prevent the mobile menu (with hamburger icon) from covering part of the logo (and warning messages, when present)? Do I just need to add a margin or padding to the top of the page in the mobile.css?

  1. In desktop/default mode, when I reduce the size of the browser window, the navigation menu links move to the top right of the window and are seemingly floating in a spot users will not see them. How can I make it so the mobile menu appears when the browser window size reaches a certain "breaking" point?

I have made some minor modifications to the template, primarily to move the logo above the nav menu and to remove the nav icons from the mobile menu. But beyond playing with some color schemes (still a WIP), I don't believe I have modified any core elements of the template that would have caused the issue noted above.

Thanks in advance!

5 Jan 2019, 2:16 AM
#673
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

coinguydavid:

Hi all, a couple of questions I could not find the answers to in reading through this thread. Hoping someone might be able to point me in the right direction. For reference, the site I'm building is https://www.thecoinauthority.com.

  1. My ideal look would be to place the mobile menu (with hamburger icon) to the left of the search bar below the logo. When you click the hamburger icon I want the menu to behave the same, and ideally would become fixed at the top of the window as you scroll (once you scroll past logo).

If #1 is too complicated to implement, then is there a way I can prevent the mobile menu (with hamburger icon) from covering part of the logo (and warning messages, when present)? Do I just need to add a margin or padding to the top of the page in the mobile.css?

  1. In desktop/default mode, when I reduce the size of the browser window, the navigation menu links move to the top right of the window and are seemingly floating in a spot users will not see them. How can I make it so the mobile menu appears when the browser window size reaches a certain "breaking" point?

I have made some minor modifications to the template, primarily to move the logo above the nav menu and to remove the nav icons from the mobile menu. But beyond playing with some color schemes (still a WIP), I don't believe I have modified any core elements of the template that would have caused the issue noted above.

Thanks in advance!

What template are you using?
Have you tried disabling the right column and enabling everything in the left column.

5 Jan 2019, 2:18 AM
#674
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Nick1973:

I've resolved this myself now and created a module which is currently under review. Will post a link here once its added to the module library.

What's the module called?

5 Jan 2019, 3:58 AM
#675
coinguydavid avatar

coinguydavid

New Zenner

Join Date:
Jan 2019
Location:
California
Posts:
4
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

linuxguy2:

What template are you using?
Have you tried disabling the right column and enabling everything in the left column.

I'm using the responsive classic template, but renamed it. Zencart v1.5.6 (12/10/18 version). As far as columns, are you referring to sideboxes? The only two sideboxes on the right are the info and more info boxes.

Thanks!

5 Jan 2019, 4:39 AM
#676
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

coinguydavid:

I'm using the responsive classic template, but renamed it. Zencart v1.5.6 (12/10/18 version). As far as columns, are you referring to sideboxes? The only two sideboxes on the right are the info and more info boxes.

Thanks!

I took a look at you site and Yes I was referring to the side boxes.
IMHO I feel there are some unaddressed issues with the mobile and tablet display
I also need to make some adjustments regarding the logo sliding up into the bar across the top of the mobile display. Setting it to a fixed position should remedy that. When I figure it out I'll post it back here.
In stylesheet_colors.css I removed the black bar across the top. The logo still slides up but it isn't hidden behind the black bar.

5 Jan 2019, 6:36 AM
#677
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

We've gone a little radical of late with the logo to include the entire logoWrapper.

Most folks on the mobiles are not concerned about a logo, but eager to find the item they're searching for. In that vein, we've removed the traditional logoWrapper in it's entirety and rolled the logo into the define_main_page. If someone goes to the home page, they'll see the logo. Otherwise, they see what they are searching for and an opportunity to buy it.

Trying to manage what the logo was trying to do in so many different devices' views is felt to be counterproductive to getting a customer's order.

Of course, most of this was predicated upon taking a look at the entry points for each site. Some sites are accessed primarily at the root while others primarily at the product level.

Use the data to decide which works best for you.

A major in-line store at our local mall stays open for 1 to 2 hours after mall closure. At mall closing, they close the sliding doors to the mall on both levels. Only the outside entrance doors are open. They save hundreds of dollars a day by doing so. No one is needed to watch out for packages slipping out those huge openings. They are very happy with the decision to do this and the public can still get in from three outside entrances.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

5 Jan 2019, 3:50 PM
#678
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

dbltoe:

We've gone a little radical of late with the logo to include the entire logoWrapper.

Most folks on the mobiles are not concerned about a logo, but eager to find the item they're searching for. In that vein, we've removed the traditional logoWrapper in it's entirety and rolled the logo into the define_main_page. If someone goes to the home page, they'll see the logo. Otherwise, they see what they are searching for and an opportunity to buy it.

Trying to manage what the logo was trying to do in so many different devices' views is felt to be counterproductive to getting a customer's order.

Of course, most of this was predicated upon taking a look at the entry points for each site. Some sites are accessed primarily at the root while others primarily at the product level.

Use the data to decide which works best for you.

A major in-line store at our local mall stays open for 1 to 2 hours after mall closure. At mall closing, they close the sliding doors to the mall on both levels. Only the outside entrance doors are open. They save hundreds of dollars a day by doing so. No one is needed to watch out for packages slipping out those huge openings. They are very happy with the decision to do this and the public can still get in from three outside entrances.

dbltoe

Thanks for the explanation which makes a very good case.
Don't get me wrong, I think the overall layout and quality of ZC is amazing! Yeah, everyone including me always want's something different :smile:
On a mobile device Nike & Amazon keep their logo present in the header all the time. It's worth noting they have an simple elongated logo.
In general I find square logos are harder to deal with as they take up more vertical space and are usually more detailed so when you shrink them they get ugly.

I do feel that some plugins like ColumnGridLayout and some form of a One Page Checkout should have been incorporated in to the core package a long time ago.

Maybe this is already possible but I just haven't found it.
Any ideas on placing the attributes like "sizes" (S, M, L, XL, XXL) on the product page (maybe check boxes below the product listing) instead having to go to the expanded product page to select them? This would further streamline the user experience.

Thanks for your time.

5 Jan 2019, 6:07 PM
#679
coinguydavid avatar

coinguydavid

New Zenner

Join Date:
Jan 2019
Location:
California
Posts:
4
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

I agree that simple is better, and plan on exploring options to reduce the footprint of my current logo; however, like Linuxguy says most major companies still present a logo (of some form) on their mobile sites.

Most of my customers are older and not a tech savvy (at least not yet), so I want to try and maintain more of a desktop feel in the mobile layout where it makes sense.

We are also in the midst of a rebranding (this site will be launched with the new logo/company name), which is another reason I want the logo to be a little more prominent initially.

My primary concern is making sure the mobile menu does not hide any elements behind it (whether it be the warning stack messages, or the logo itself).

My ultimate goal however would be to find a way to nest the mobile logo next to the search bar, while keeping the logo above.

I don't mind playing around with the code to see if I can get it to work, but am having a hard time identifying which code I should look at first to relocate the mobile menu.

I imagine the fixed attributes associated with the mobile menu will present a challenge if I relocate to another area of the page, which is why I need some help :)

Thanks again for any input!

6 Jan 2019, 7:02 PM
#680
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

As a minimum, there are four stylesheets that deal with the mobile/tablet world of Zen Cart. Others may or may not be involved depending on things added to the stock layout.

Also, inside those, you'll find sections dealing with portrait versus landscape, screen width, etc.

Even with the ability to have 8 screens in front of me, it can get to be quite an experience.

Using your browser's F12/Inspect/Developer capability is foremost in locating the spot you wish to change. Once there, emphasis should be on determining if the call is general, width-specific, orientation-specific, or a combination of the three.

And, no, yours is not "just like everyone else's." Best way to get help -- drill down to what you are trying to change and provide a link to the site/page in question. Pictures don't generally help at all with css problems.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com