Results 1 to 10 of 23

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

    Default Buttons in main pg header

    I have three new buttons I would like to put on main page in header. Currently, I used stylesheet and just added border around text. How do I add new button images instead?

    Log In
    My Account
    Shopping Cart

    It is located on Main Page top right corner in header.

    Thanks, Kim

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

    Default Re: Buttons in main pg header

    In a copy of tpl_header.php for your template find the bof navigation area and where there are constants called for - replace with a
    img src=?????? See what is highlighted in red
    Code:
     <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
    Or I believe you can place the image in the define in the includes/languages/english/header.php but am not positive of the syntax(search here)
    Code:
    define('HEADER_TITLE_LOGIN', 'Log In');
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

    Default Re: Buttons in main pg header

    Quote Originally Posted by kobra View Post
    In a copy of tpl_header.php for your template find the bof navigation area and where there are constants called for - replace with a
    img src=?????? See what is highlighted in red
    Code:
     <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
    Or I believe you can place the image in the define in the includes/languages/english/header.php but am not positive of the syntax(search here)
    Code:
    define('HEADER_TITLE_LOGIN', 'Log In');
    Thank you ---got that part to work.

    I made buttons with advance software. I am getting a white background around button....In css stylesheet I made background color #cccccc to match header and still getting white area. Any suggestions?

    Thanks, Kim

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Buttons in main pg header

    Quote Originally Posted by kburner View Post
    Thank you ---got that part to work.

    I made buttons with advance software. I am getting a white background around button....In css stylesheet I made background color #cccccc to match header and still getting white area. Any suggestions?

    Thanks, Kim
    Make sure your software is creating the buttons on a transparent background.

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

    Default Re: Buttons in main pg header

    Clyde is correct they have this white matte as part of the image
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

    Default Re: Buttons in main pg header

    Quote Originally Posted by kobra View Post
    Clyde is correct they have this white matte as part of the image
    contacted free button website:
    http://www.advancewebsoft.com/downlo...nerator-p.html

    and they do not have transparent available yet.

    Is there anything else I can do? maybe in stylesheet.css?

    or another does anyone know of another free button website?

    Thanks, Kim

 

 

Similar Threads

  1. header buttons
    By typoe in forum General Questions
    Replies: 4
    Last Post: 1 Feb 2011, 06:44 PM
  2. Backround buttons on main page category
    By hengxi in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 3 Apr 2010, 11:36 AM
  3. header buttons
    By TheBuz in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 May 2009, 05:09 PM
  4. Detaching header from main page - how to get main section and header size differently
    By guls_guys in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Apr 2008, 06:07 PM
  5. Buttons in the main page area
    By ellis200200 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 8 Jul 2006, 03:58 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