Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2010
    Posts
    17
    Plugin Contributions
    0

    help question sidebox header change font & disable link

    hi guys,

    I just noticed how my Information Box header has a different font face from the other sideboxes and as well the header as a link.

    i can't seem to be able to disable the link. and whilst i'm at it id like the font matching the other boxes.

    Ive had a good look around files and the forums, not least includes\modules\sideboxes\template\information.php and around line 126 it shows:

    $title = BOX_HEADING_INFORMATION;
    $title_link = false;

    It seems odd there is a link in the first place, I never added it.

    http://mymultitools.co.uk/


    thanks


    Joe

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

    Default Re: sidebox header change font & disable link

    That is very strange. The link reads as inside the information heading in Web Developer, but is clearly part of the preceding sidebox in the HTML source (as well as logically, since the preceding sidebox is gift certificates and the link takes you to that page).

  3. #3
    Join Date
    Jun 2009
    Location
    Brisbane, QLD AUS
    Posts
    210
    Plugin Contributions
    0

    Default Re: sidebox header change font & disable link

    Hi,

    Looks like you've forgotten a closing "</p>" tag. See below:


    <!--// bof: blank1sidebox //-->
    <div class="leftBoxContainer" id="blank1sidebox" style="width: 170px">
    <div class="sidebox-header-left ">
    <h3 class="leftBoxHeading " id="blank1sideboxHeading">Gift Certificates</h3>
    </div>
    <div id="blank1sideboxContent" class="sideBoxContent">
    <p></p>
    <p>
    <p align="center">
    ...
    </p>
    </div>
    </div>
    <!--// eof: blank1sidebox //-->
    <!--// bof: information //-->
    <div class="leftBoxContainer" id="information" style="width: 170px">
    <div class="sidebox-header-left ">
    <h3 class="leftBoxHeading " id="informationHeading">Information</h3>
    </div>
    <div id="informationContent" class="sideBoxContent">
    <ul style="margin: 0; padding: 0; list-style-type: none;">
    ...
    </ul>
    </div>
    </div>
    <!--// eof: information //-->


    hope his helps!

  4. #4
    Join Date
    Jun 2009
    Location
    Brisbane, QLD AUS
    Posts
    210
    Plugin Contributions
    0

    Default Re: sidebox header change font & disable link

    bugger, sorry about that! forgot to highlight the offending lines....

    <!--// bof: blank1sidebox //-->
    <div class="leftBoxContainer" id="blank1sidebox" style="width: 170px">
    <div class="sidebox-header-left ">
    <h3 class="leftBoxHeading " id="blank1sideboxHeading">Gift Certificates</h3>
    </div>
    <div id="blank1sideboxContent" class="sideBoxContent">
    <p></p>
    <p>
    <p align="center">
    ...
    </p>

    </div>
    </div>
    <!--// eof: blank1sidebox //-->
    <!--// bof: information //-->
    <div class="leftBoxContainer" id="information" style="width: 170px">
    <div class="sidebox-header-left ">
    <h3 class="leftBoxHeading " id="informationHeading">Information</h3>
    </div>
    <div id="informationContent" class="sideBoxContent">
    <ul style="margin: 0; padding: 0; list-style-type: none;">
    ...
    </ul>
    </div>
    </div>
    <!--// eof: information //-->

  5. #5
    Join Date
    Mar 2010
    Posts
    17
    Plugin Contributions
    0

    Default Re: sidebox header change font & disable link

    Quote Originally Posted by ALiepinieks View Post
    bugger, sorry about that! forgot to highlight the offending lines....

    <!--// bof: blank1sidebox //-->
    <div class="leftBoxContainer" id="blank1sidebox" style="width: 170px">
    <div class="sidebox-header-left ">
    <h3 class="leftBoxHeading " id="blank1sideboxHeading">Gift Certificates</h3>
    </div>
    <div id="blank1sideboxContent" class="sideBoxContent">
    <p></p>
    <p>
    <p align="center">
    ...
    </p>

    </div>
    </div>
    <!--// eof: blank1sidebox //-->
    <!--// bof: information //-->
    <div class="leftBoxContainer" id="information" style="width: 170px">
    <div class="sidebox-header-left ">
    <h3 class="leftBoxHeading " id="informationHeading">Information</h3>
    </div>
    <div id="informationContent" class="sideBoxContent">
    <ul style="margin: 0; padding: 0; list-style-type: none;">
    ...
    </ul>
    </div>
    </div>
    <!--// eof: information //-->


    great thanks, i'm sure it will work. but could you please tell me the file name. clearly demonstrating and justifying my newbie status!

    thank-you!

    joe

  6. #6
    Join Date
    Jun 2009
    Location
    Brisbane, QLD AUS
    Posts
    210
    Plugin Contributions
    0

    Default Re: sidebox header change font & disable link

    funny that, i simply assumed there was a gift certificate sidebox in a standard ZC install. learn something new everyday!

    anyway, unless i'm mistaken (very possible), it looks like you've either added a mod that facilitates this, or modified an existing sidebox to point to a specific category, which in this case happens to be your GV category. so to be honest, i'm not 100% sure which file would be in use, but i can say it would be under the following folder (most likely)...

    includes/templates/YOUR_TEMPLATE/sideboxes/

    ...as an aside, the sidebox's name (not on display quite obviously) seems to be "blank1" after looking at the classnames in use. you could always do a search in the developers toolkit (admin backend) for this string and see which files pop up. may give you a hint in the right direction.

    good luck!

  7. #7
    Join Date
    Mar 2010
    Posts
    17
    Plugin Contributions
    0

    Default Re: sidebox header change font & disable link

    Quote Originally Posted by ALiepinieks View Post
    funny that, i simply assumed there was a gift certificate sidebox in a standard ZC install. learn something new everyday!

    anyway, unless i'm mistaken (very possible), it looks like you've either added a mod that facilitates this, or modified an existing sidebox to point to a specific category, which in this case happens to be your GV category. so to be honest, i'm not 100% sure which file would be in use, but i can say it would be under the following folder (most likely)...

    includes/templates/YOUR_TEMPLATE/sideboxes/

    ...as an aside, the sidebox's name (not on display quite obviously) seems to be "blank1" after looking at the classnames in use. you could always do a search in the developers toolkit (admin backend) for this string and see which files pop up. may give you a hint in the right direction.

    good luck!


    Thanks for your help, fixed it. it was the added sidebox above ie. gift certifcates. i'd missed the '</a>' for linking the image to the gift cert page.

    thanks for your help!!!

    Joe

 

 

Similar Threads

  1. Replies: 13
    Last Post: 29 Aug 2010, 05:59 PM
  2. Home & Log In Link Font Size
    By JannyM in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Feb 2009, 02:37 PM
  3. Header position & font
    By Ecable in forum Templates, Stylesheets, Page Layout
    Replies: 24
    Last Post: 19 Feb 2009, 04:53 AM
  4. Sidebox Header - Change Font Style
    By racquel in forum Templates, Stylesheets, Page Layout
    Replies: 17
    Last Post: 15 Aug 2007, 07:43 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR