Thread: Template query

Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Posts
    111
    Plugin Contributions
    0

    Default Template query

    Hi

    Been building my new website and I've got a couple of issues.

    Firstly how do I get rid of the Truly Ethical word and cross in top left of the header?

    Secondly I can't work out how to get rid of the white gap below the logo and above the catergories?

    Any help would be appreciated.

    Website is www.trulyethical.com

    Thanks

    matt

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Template query

    By "cross" do you mean the IE red x box that denotes a broken image? (Firefox doesn't show those.)

    You do not have a logo image, but the tpl_header.php code is still looking for one, and outputting the alt tag in its place.

    You need to edit /includes/templates/your_template/common/tpl_header.php and comment out the whole logoWrapper section of code.

    For the spacing, find in your stylesheet
    Code:
    .leftBoxContainer, .rightBoxContainer {
    	margin: 0em;
    	border: 1px solid #996699;
    	border-bottom: 5px solid #996699;
    	margin-top: 1.5em;
    	}
    and delete the

    margin-top: 1.5em;

    Note that this will make all of the sideboxes crowd together without spacing. If you want them spaced from each other, change margin-top: 1.5em; to margin-bottom: 1.5em;

  3. #3
    Join Date
    Oct 2008
    Posts
    111
    Plugin Contributions
    0

    Default Re: Template query

    Thanks Glen

    tried the margin thing , but it removes the wrong margin. It is the white space below the logo and above the navigation bar across the to - I guess I did not explain it properly.

    Also, so to sound stupid, but not exactly sure what you mean by the logo bit.

    Thanks

    matt

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Template query

    For that gap, find in tpl_header.php at the bottom of the logoWrapper section

    <br class="clearBoth"/>

    and replace it with

    <div class="clearBoth"></div>

    I see you have your logo as a background in #logoWrapper, so you don't want to remove the whole div.
    You do have code calling for a logo image in the #logo div, and it is not finding one. Comment out the
    <div id="logo" ... </div>

  5. #5
    Join Date
    Oct 2008
    Posts
    111
    Plugin Contributions
    0

    Default Re: Template query

    Hi

    Done has you suggested. The gap has gone - so thanks, but the IE red x box is still there!!

    Have I done the wrong thing?

    Thanks

    matt

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Template query

    Please post the section of tpl_header.php between the "bof branding display" and "eof branding display" comments, using [php] and [/php] tags, so I can see what you really have.

 

 

Similar Threads

  1. v151 SQL query setup. How do I TEST a query 'off-line'?
    By lewisasding in forum General Questions
    Replies: 3
    Last Post: 8 Mar 2013, 12:24 AM
  2. Store Name query - artshop template
    By jmp04 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 11 Dec 2010, 09:08 PM
  3. template host query
    By RobWUK in forum Addon Templates
    Replies: 2
    Last Post: 10 May 2010, 03:29 PM
  4. SQL Query from inside a template?
    By maeve100 in forum General Questions
    Replies: 2
    Last Post: 24 Jul 2009, 04:59 PM
  5. Problems with J-Query Template
    By Adrian88 in forum Addon Templates
    Replies: 10
    Last Post: 24 Nov 2008, 09:26 AM

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