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 481 to 500 of 1,106
11 Feb 2018, 11:13 PM
#481
wilorc avatar

wilorc

New Zenner

Join Date:
Sep 2009
Posts:
65
Plugin Contributions:
0

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

I would like to change the colour of the blue drop down menu on the mobile version of responsive_classic. It's the three horizontal "hamburger" lines. Normally, I'd just use Inspect Element in my computer's web browser to hunt it down, but can't do this in a standard mobile browser. Can someone point me to the css file that controls the colour?

Thanks

12 Feb 2018, 1:17 AM
#482
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

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

wilorc:

I would like to change the colour of the blue drop down menu on the mobile version of responsive_classic. It's the three horizontal "hamburger" lines. Normally, I'd just use Inspect Element in my computer's web browser to hunt it down, but can't do this in a standard mobile browser. Can someone point me to the css file that controls the colour?

Thanks

You'll want to change:
includes/templates/YOUR_TEMPLATE/common/**tpl_header.php
**both occurrences line 46 and 48
** <i class="fa fa-bars"></i>

**You could change it to:
<i class="fa fa-chevron-left"></i>

Then change the colour:includes/templates/YOUR_TEMPLATE/css/**jquery.mmenu.all.css
**line 1572
change this:
.header .fa-bars{font-size:225%;}

to this:
.header .fa-chevron-left{
font-size: 225%;
margin: .1em;
color: #941818;
}

This will give you independent control of the colour - separate from the menu text/link/hover colours.

You will have a *red *looking *left *pointing chevron :)

Font Awesome Icons shows a rather large selection to view and test, just be sure to mind the font-size to fit your menu bar.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

13 Feb 2018, 10:29 PM
#483
wilorc avatar

wilorc

New Zenner

Join Date:
Sep 2009
Posts:
65
Plugin Contributions:
0

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

twitchtoo:

You'll want to change:
includes/templates/YOUR_TEMPLATE/common/**tpl_header.php
**both occurrences line 46 and 48
** <i class="fa fa-bars"></i>

**You could change it to:
<i class="fa fa-chevron-left"></i>

Then change the colour:includes/templates/YOUR_TEMPLATE/css/**jquery.mmenu.all.css
**line 1572
change this:
.header .fa-bars{font-size:225%;}

to this:
.header .fa-chevron-left{
font-size: 225%;
margin: .1em;
color: #941818;
}

This will give you independent control of the colour - separate from the menu text/link/hover colours.

You will have a *red *looking *left *pointing chevron :)

Font Awesome Icons shows a rather large selection to view and test, just be sure to mind the font-size to fit your menu bar.

Thank you so much. That worked perfectly :smile:

15 Feb 2018, 4:12 PM
#484
jakelawless avatar

jakelawless

Zen Follower

Join Date:
Jan 2018
Posts:
146
Plugin Contributions:
0

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

Does anyone have a copy of the 'tpl_header.php' file, i have over written it and need the default coding for it that i could paste in. Would be much appreciated, thanks.

15 Feb 2018, 6:42 PM
#485
wilorc avatar

wilorc

New Zenner

Join Date:
Sep 2009
Posts:
65
Plugin Contributions:
0

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

JakeLawless:

Does anyone have a copy of the 'tpl_header.php' file, i have over written it and need the default coding for it that i could paste in. Would be much appreciated, thanks.

Best thing to do is download and unzip the Zencart 1.5.5f release software, where you'll find it and all the other files, plus will be useful to keep in case needed again.

16 Feb 2018, 11:47 AM
#486
jakelawless avatar

jakelawless

Zen Follower

Join Date:
Jan 2018
Posts:
146
Plugin Contributions:
0

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

Anyone know how to center the 'logo' at the top of the page i ant figure it out?

Also on my CCTV Page why at the bottom do my side boxes go to the left side when they're right side on the main page? Thanks

Site is - http://www.mas-uk.com/cctv-merseyside-1/

16 Feb 2018, 2:32 PM
#487
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,129
Plugin Contributions:
56

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

JakeLawless:

Anyone know how to center the 'logo' at the top of the page i ant figure it out?

Also on my CCTV Page why at the bottom do my side boxes go to the left side when they're right side on the main page? Thanks

Site is - http://www.mas-uk.com/cctv-merseyside-1/
To my eyes, it looks like the "logo" is centered ... it's just that the image fades in from the left.

I don't understand the 2nd question. I clicked the CCTV "category link" and don't see any sidebox difference between that and the main page. Perhaps if you posted a screenshot (with a pointer) to illustrate what you see ...

16 Feb 2018, 4:05 PM
#488
wilorc avatar

wilorc

New Zenner

Join Date:
Sep 2009
Posts:
65
Plugin Contributions:
0

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

JakeLawless:

Anyone know how to center the 'logo' at the top of the page i ant figure it out?

Are you asking about how to centre on standard (desktop) display?

17 Feb 2018, 5:17 AM
#489
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,022
Plugin Contributions:
2

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

JakeLawless:

Anyone know how to center the 'logo' at the top of the page i ant figure it out?

Also on my CCTV Page why at the bottom do my side boxes go to the left side when they're right side on the main page? Thanks

Site is - http://www.mas-uk.com/cctv-merseyside-1/

You may need to prescribe a width for the element concerned before applying margin:auto; in css.

17 Feb 2018, 9:21 AM
#490
wilorc avatar

wilorc

New Zenner

Join Date:
Sep 2009
Posts:
65
Plugin Contributions:
0

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

dw08gm:

You may need to prescribe a width for the element concerned before applying margin:auto; in css.

I centred my logo for desktop display with the following:

In file includes/templates/YOUR_TEMPLATE/css/stylesheet.css line 128 after the #logo element

.centred {text-align:center;}

In file includes/templates/YOUR_TEMPLATE/common/tpl_header.php line 167 change

<div id="logo">

To be

<div id="logo" class="centred">
17 Feb 2018, 2:03 PM
#491
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

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

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

zc1.5.5f, clone responsive_classic. Site is new build in progress to replace older template. url in my sig file.

Has anyone figured out how to get Currencies selection to work in mobile, either in the side menu or header? I see posting from summer 2016 pointing to /includes/templates/YOUR_CUSTOM_responsive_classic_FOLDERNAME/templates/tpl_modules_mobile_menu.php, and I can see where a code insert would likely go, but haven't a clue what to copy in there.

6 Mar 2018, 9:38 AM
#492
akasashasha avatar

akasashasha

Zen Follower

Join Date:
Mar 2009
Location:
France
Posts:
158
Plugin Contributions:
0

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

Hello dears

is there a online demo of the new responsive template distributed with 1.5.5f ?

thanks

6 Mar 2018, 11:55 AM
#493
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,129
Plugin Contributions:
56

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

I'm currently using it on my demo site, with the default coloring.

6 Mar 2018, 1:26 PM
#494
akasashasha avatar

akasashasha

Zen Follower

Join Date:
Mar 2009
Location:
France
Posts:
158
Plugin Contributions:
0

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

Akasashasha:

Hello dears

is there a online demo of the new responsive template distributed with 1.5.5f ?

thanks

thanks a lot ...

18 Mar 2018, 10:27 PM
#495
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]

Hello team,

When I use I-phone in horizontal position text looks acceptable:

Attachment 17745

But in vertical position it is squeezed:

Attachment 17746

Is this functionality of template for mobile phone and user would intuitively rotate the device, or there is a way to fit everything in both cases?

Thank you for reply in advance.

18 Mar 2018, 11:49 PM
#496
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

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

Set your mouse on the squeezed text, right click then click on "inspect". Then play around with the css settings that show up to improve your display.

19 Mar 2018, 1:40 AM
#497
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]

marton_1:

Set your mouse on the squeezed text, right click then click on "inspect". Then play around with the css settings that show up to improve your display.

So, say I have mouse on Line 1:

Attachment 17747

Should I make change in CSS file and then look in browser, or it can be somehow modified "on fly" while inspecting elements?

My intend is to align the text (Line 1, Line 2,...) to the left. Then I always will have maximum space.

Is there anything you can point on image?

19 Mar 2018, 7:03 PM
#498
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

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

idtags:

So, say I have mouse on Line 1:

Attachment 17747

Should I make change in CSS file and then look in browser, or it can be somehow modified "on fly" while inspecting elements?

My intend is to align the text (Line 1, Line 2,...) to the left. Then I always will have maximum space.

Is there anything you can point on image?

Just right click anywhere on the squeezed text, and then on "inspect"

A new window will pop up, on the right of the window you will see the css.

You can make changes here on the fly.
When you have a display that is OK then update the css file itself, you should see displayed which css file to update and which file line to change.

That is how it works in Chrome; I assume other browsers work the same way.

Your image is not so clear so it is hard to say where to change

19 Mar 2018, 7:15 PM
#499
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

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

try adding
float: left;
under
text-align:left;
in the part labelled responsive_mobile......

31 Mar 2018, 2:46 PM
#500
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]

Thank you this is working!