Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Adding 2nd logo / picture to header

Adding 2nd logo / picture to header

Views: 6,465

Results 21 to 27 of 27
21 Mar 2011, 4:25 PM
#21
niallo58 avatar

niallo58

New Zenner

Join Date:
Feb 2011
Posts:
34
Plugin Contributions:
0

Adding 2nd logo / picture to header

hey, just looking through the steps here and I got my facebook logo to appear perfectly and almost where I want it, I want to move the facebook image in the header directly under the search button and not to the right of it.

I have done everything in this form and all the files are in the right place. Any suggestions?

Thanks
Niall

21 Mar 2011, 4:44 PM
#22
niallo58 avatar

niallo58

New Zenner

Join Date:
Feb 2011
Posts:
34
Plugin Contributions:
0

Re: Adding 2nd logo / picture to header

NiallO58:

hey, just looking through the steps here and I got my facebook logo to appear perfectly and almost where I want it, I want to move the facebook image in the header directly under the search button and not to the right of it.

I have done everything in this form and all the files are in the right place. Any suggestions?

Thanks
Niall

And here is my webpage so you can see what I mean

http://mauricedoodysales.ie/

25 Mar 2011, 4:25 PM
#23
dontblink7 avatar

dontblink7

New Zenner

Join Date:
Jan 2011
Posts:
53
Plugin Contributions:
0

Re: Adding 2nd logo / picture to header

i need help positioning it as well, also when i added the extra pic, it seems to have messed up the width of the template, help please

HVAC Services, Online Store

25 Mar 2011, 4:33 PM
#24
dontblink7 avatar

dontblink7

New Zenner

Join Date:
Jan 2011
Posts:
53
Plugin Contributions:
0

Re: Adding 2nd logo / picture to header

DontBlink7:

i need help positioning it as well, also when i added the extra pic, it seems to have messed up the width of the template, help please

HVAC Services, Online Store

also how do u change the link from going back to home page?

26 Jul 2013, 8:28 AM
#25
voluntaryist_only avatar

voluntaryist_only

New Zenner

Join Date:
Sep 2010
Posts:
60
Plugin Contributions:
0

Re: Adding 2nd logo / picture to header

I have a similar need to this. in the header_tpl I would like to insert 2 image type files, one is the paypal verification seal the other on is our SSL verification seal. I can see from the thread that an image can be inserted, but both of the inserts i want to insert have the images remotely hosted (securely btw)

I have tried this:
here is the div declaration in the css file:
#logoinsert_images{
float: left;
padding: 0.5em 1.5em 0.5em 0.5em;

here is the insert into the header_ptl file:

<div id="logoinsert_images" class="content"> <!-- Begin Official PayPal Seal --><a href="https://www.paypal.com/uk/verified/pal=xxxxx%40xxxxx%2eco%2euk" target="_blank"><img src="https://www.paypal.com/en_GB/i/icon/verification_seal.gif" border="0" alt="Official PayPal Seal"></A><!-- End Official PayPal Seal --> </div> (note: the xxxx etc in the paypal verified url is just me masking our details)

placed this in the <div id="logoWrapper"> after last closing tag on:

<?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?>

appox line 65 (ish)
and before opening tap of:

<?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>

I can see the output as a link, but the image is not showing, the link also works, but i need the image to show.

any help please ;-)

thanks in advance...

regards,
VO

26 Jul 2013, 11:36 AM
#26
voluntaryist_only avatar

voluntaryist_only

New Zenner

Join Date:
Sep 2010
Posts:
60
Plugin Contributions:
0

Re: Adding 2nd logo / picture to header

Hi,
i managed to fix it here is what I did:
first insert this into template css (the one which you are using)

#logoinsert_images{
float:right;

then use this format: to insert after, but within the same div as the :::::

<div id="logoWrapper"> <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, STORE_NAME) . '</a>'; ?> <div id="logoinsert_images"> <!-- Begin Official PayPal Seal --><a href="https://www.paypal.com/uk/verified/pal=xxxx%40xxxxxxxxxx%2eco%2euk" target="_blank"><img src="../includes/templates/antiseptic/images/paypal.png" alt="Official PayPal Seal"></A><!-- End Official PayPal Seal --> </div> </div>

this works a treat!! i can also have the option of adding more images, like SSL Seals & other items potentially adding upto say 5-7 images depending on sizes.

worked for ages just fiddling around with this, glad to get it working, maybe I've finally been able to help other zenner's.

if anyone spots any mistakes I've made please advise & amend accordingly, btw this works for zc 1.51

happy zenning everyone :clap:

regards,

VO...

28 Oct 2014, 11:36 PM
#27
thomaswhiteeagle avatar

thomaswhiteeagle

New Zenner

Join Date:
May 2007
Posts:
93
Plugin Contributions:
0

Re: Adding 2nd logo / picture to header

I'm using the westminster responsive template. Need a second logo as well to float right. followed theses directions exactly and worked fine in that the second log is there fine. but it is not floating to the right of the header instead it is just right of the first logo. Any ideas?