Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
hello.. i want to add contact us to the header but i put it in places i think it should go and nothing
I used this info but using this template you will see what happened
https://www.zen-cart.com/content.php...der-and-footer
i know the info maybe a little outdated but i added to three different places and still no contact us
my site is http://herasonlinemarket.com
thank you ahead of time.
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
noppie
Do you mean the tagline like here where the telephone number appears ?
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
[QUOTE=gunni;1341267]Do you mean the tagline like here where the telephone number appears ?[/QUOT
thank you for responding..
i would like to have the contact on the other side of where it says log in .. on the pink line...
thank you
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
left side should be done in stylesheet.css #tagline {text-align:left}
If you want the tagline to be at the same line of the search line, you should do it in the php file.
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
gunni
left side should be done in stylesheet.css #tagline {text-align:left}
If you want the tagline to be at the same line of the search line, you should do it in the php file.
yes I know that.. I have been using zen cart for years.. but took a long break.. and i just got to learn the different parts of the header file in the commons folder..
i think this is the way it goes..
there are three navmain
the first one is for moblie phones
the second is for tablets and
the third part is for web ... correct?
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
If you mean for the css files so here it is:
responsive.css // is loaded on every page except the popup_image and popup_image_additional pages and
contain site-wide selectors that control the responsive HTML elements.
responsive_default.css // is loaded on by default where a mobile or tablet UA is NOT detected.
responsive_mobile.css // is loaded on mobile devices where a mobile UA is detected, it replaces the 'responsive_default.css' file.
responsive_tablet.css // is loaded on tablet devices where a tablet UA is detected, it replaces the 'responsive_default.css' file.
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
no ,,, i understand css files.. I already changed them.. I made the pink line on my header pink from dark grey... and smaller.. and I made the box title smaller also and purple.
i just want to ADD contact us in my header on the pink line...
i am in the tpl_header.php under the commons file.. the answer is there somewhere I am taking it apart using the blue fish editor program..
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
noppie
no ,,, i understand css files.. I already changed them.. I made the pink line on my header pink from dark grey... and smaller.. and I made the box title smaller also and purple.
i just want to ADD contact us in my header on the pink line...
i am in the tpl_header.php under the commons file.. the answer is there somewhere I am taking it apart using the blue fish editor program..
Line 128 - 133 in includes/templates/YOUR_RESPONSIVE_TEMPLATE/common/tpl_header.php:
PHP Code:
<?php } else { ?>
<div id="navMain">
<ul class="back">
<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
<?php if ($_SESSION['customer_id']) { ?>
add this line:
<li><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'SSL'); ?>"><?php echo BOX_INFORMATION_CONTACT; ?></a></li>
like this:
PHP Code:
<?php } else { ?>
<div id="navMain">
<ul class="back">
<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'SSL'); ?>"><?php echo BOX_INFORMATION_CONTACT; ?></a></li>
<?php if ($_SESSION['customer_id']) { ?>
The contact us link will now show on desktop. It should already be in the 'responsive' mobile and tablet menu through /templates/tpl_modules_mobile_menu.php loading through the "menu" i class="fafa...
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
thank you so much.. I figured it out on my own but thank you so much.. if someone else needs it is here now. and I have a hard time explaining things. thank you again.
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
I do not by any means mean to change topics on a thread, but it is responsive classic related. Please move it if necessary.
When I did the upgrade to my cart from 1.5.5e to f, the way in which my logo displayed went from what it is supposed to be to displaying very small.
This is what I did:
I went into the file located a "/includes/templates/responsive_classic/common/tpl_header.php ". I removed from line 167 “, HEADER_LOGO_WIDTH, HEADER_LOGO_HEIGHT”. This allowed the logo to actually display correctly (the correct size) again.
My main question:
Is this actually the most correct way to address the logo size or is this basically incorrect and there is a more correct way to do this?
Many thanks in advance for your time and answer.