Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    May 2010
    Location
    Whitchurch, Hampshire, UK
    Posts
    71
    Plugin Contributions
    0

    red flag Adding additional sections to the Header

    Hello Fellow Zenners!

    I am in a bit of a pickle.

    At the moment, my header looks like this:



    But I want to alter it so that it looks like this:


    I've had a look around the tpl_header.php file, but I'm not at all sure how to go about adding these things.
    I want the each social media logo to be clickable (to go to the relevant fanpage/account/page, of course).
    I also want the shopping basket to be changed, but again don't know how.

    I'm really not keen on spending £50+ on hiring some freelancer to do it, as it doesn't seem toooo complicated (I could be wrong though).
    Can someone give me some kind of direction?

    Any help would be hugely appreciated!

    Thanks

    Tristan
    The iShop: Make it Yours

    Apple, BlackBerry, HTC, Samsung and Audio Accessories www.the-ishop.co.uk

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Adding additional sections to the Header

    Start by working on a copy for your template of tpl_header.php

    Place it in your template/common folder and create it if it does not exist

    If an edit fails ypu can just delete your custom file and the default will take back over
    Zen-Venom Get Bitten

  3. #3
    Join Date
    May 2010
    Location
    Whitchurch, Hampshire, UK
    Posts
    71
    Plugin Contributions
    0

    Default Re: Adding additional sections to the Header

    Ok, thanks Kobra, I'll have a play around with it
    The iShop: Make it Yours

    Apple, BlackBerry, HTC, Samsung and Audio Accessories www.the-ishop.co.uk

  4. #4
    Join Date
    May 2010
    Location
    Whitchurch, Hampshire, UK
    Posts
    71
    Plugin Contributions
    0

    Default Re: Adding additional sections to the Header

    Right, I've had a look.
    I've worked out how to insert other sections in there, but how do I insert an image so that it is aligned to the left of the shopping cart icon?

    Referring to the finished product image in my first post, I have got the social media icons image (currently the last three icons in one image) in, but it is now in the place of the shopping cart, and the cart has been pushed down, as I can see the top of it below the social media icons.

    I aligned the icons using:
    Code:
    <div class="social-media">
    					<div class="aligncenter">
    					<!-- ========== Social Media ========== -->
    						<a href="<?php echo zen_href_link(FILENAME_DEFAULT);?>"><?php echo zen_image(DIR_WS_TEMPLATE.'images/test.jpg'); ?></a>
    
    					<!-- ========================== -->
    				</div>
    but the result is as I mentioned just then.
    How would I keep the Shopping Cart and the image on the same line? (so to speak)

    Thanks for your help
    The iShop: Make it Yours

    Apple, BlackBerry, HTC, Samsung and Audio Accessories www.the-ishop.co.uk

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Adding additional sections to the Header

    Could not find it in the div you referenced

    But try this addition to the end of your stylesheet.css file
    Code:
    .alignleft {
            float: right;
            width: 250px;
            }
    Zen-Venom Get Bitten

  6. #6
    Join Date
    May 2010
    Location
    Whitchurch, Hampshire, UK
    Posts
    71
    Plugin Contributions
    0

    Default Re: Adding additional sections to the Header

    Hi,

    Thanks for that. Haven't got round to using it yet, as I'm not sure how. How do I associate that CSS part with the section in my tpl_header.php file?

    If you check http://www.the-ishop.co.uk now, you'll see that I sorted the shopping basket issue. Now it's just a matter or keeping the image in the middle (vertically). Preferably, I'll be able to align it with the shopping basket, and add other images next to it (Twitter logo, YouTube logo and Blog logo specifically). How do I go about doing that?

    Thanks for your patience, I'll get there eventually!
    The iShop: Make it Yours

    Apple, BlackBerry, HTC, Samsung and Audio Accessories www.the-ishop.co.uk

 

 

Similar Threads

  1. Adding Additional Link to Header
    By Psykryph in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Aug 2011, 08:39 AM
  2. Adding additional images to the main header
    By shanesoine in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 18 Nov 2010, 06:11 PM
  3. Adding additional menu links to header.
    By raydeez in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 29 Apr 2009, 11:29 PM
  4. Adding space between sections
    By A-1 Electronics in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 Jul 2007, 10:07 PM
  5. Adding new featured product sections
    By TheSpunkyLobster in forum General Questions
    Replies: 1
    Last Post: 14 Aug 2006, 02:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg