Page 1 of 2 12 LastLast
Results 1 to 10 of 3041

Hybrid View

  1. #1

    Default Re: Apple Zen Support Thread

    hi jade, i'm still loving the apple zen, but having a few small problems (well just one right now, i've figured most of the others out to some extent)...
    i'm trying to change the search header at the top, and i know that you're not too keen on adjusting inputs, but i'm just wondering if you have some insight into why i *cannot* get the search button and the input box to line up vertically. I just want them to line up that way, i'm not worried about width wise unless they're SUPER far apart.
    here is my css code for the #navmainsearch section:

    Code:
    #navMainSearch {
    /*area around search box and button including whole navmain area*/
    	margin:0 auto ; 
    	text-align:right;
    	padding:0px 0px 0px 0px;
    	}	
    
    #navMainSearch input {
    /*seems to move the search button*/
    	margin:0px ;
        background-color:#A1C541;
    	text-align:right;
    	padding:0px 0px;
    	}	
    
    #navMainSearch input[type=text] {
       	margin: 0px 0 0 0;   
       	}
    
    #navMainSearch input.topSearch{       
       	margin: 0 0 0px 0px;    
       	padding: 0px 0 0 0;
       	}
    i have this at code starting at line 19 of my tpl_search_header.php file:
    PHP Code:
    $content .= zen_draw_input_field('keyword''''size="6" maxlength="30" style="width: 100px" value="' HEADER_SEARCH_DEFAULT_TEXT '" onfocus="if (this.value == \'' HEADER_SEARCH_DEFAULT_TEXT '\') this.value = \'\';" onblur="if (this.value == \'\') this.value = \'' HEADER_SEARCH_DEFAULT_TEXT '\';"') . '&nbsp;<input type="image" img src="images/button_search.gif"' HEADER_SEARCH_BUTTON '" style="width: 70px" />'
    to give it a button image instead of the standard search button.

    basically the only reason i'm doing this is because i want the navmain area to be the same height as the dropdown menu link height, so it balances evenly on top and bottom of the header image... and the standard search thingie was just too tall and i'm too much of a noob to figure out how to make my own imaged search thingie like you have in cherry zen...

    if anybody else has any suggestions, i'd love to hear them too!
    thanks so much!
    Tiffany Rose
    Frozen Rose Design

  2. #2
    Join Date
    Aug 2006
    Posts
    133
    Plugin Contributions
    0

    Default Re: Apple Zen Support Thread

    Quote Originally Posted by misticloudz View Post
    i'm just wondering if you have some insight into why i *cannot* get the search button and the input box to line up vertically.
    misti, it appears you wiped out the class when you edited your width. my tpl_search_header_file has this bit of code:

    Code:
        $content .= zen_draw_input_field('keyword', '', 'size="6" maxlength="30" class="topSearch" style="width: 16%" value="' . HEADER_SEARCH_DEFAULT_TEXT . '" onfocus="if (this.value == \'' . HEADER_SEARCH_DEFAULT_TEXT . '\') this.value = \'\';" onblur="if (this.value == \'\') this.value = \'' . HEADER_SEARCH_DEFAULT_TEXT . '\';"') . '&nbsp;' . zen_image_submit (BUTTON_IMAGE_SEARCH,HEADER_SEARCH_BUTTON);
    with the crucial difference being class="topSearch".

  3. #3
    Join Date
    Feb 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Apple Zen Support Thread

    How do I make the bar on the top of the page white instead of green, been trying to figure out which file that is in.

    Thanks

  4. #4
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Apple Zen Support Thread

    Quote Originally Posted by breezyr View Post
    How do I make the bar on the top of the page white instead of green, been trying to figure out which file that is in.

    Thanks
    You don't need to find the file with the header bar, you just need to open up includes/templates/apple_zen/css/stylesheet.css. That background color is controlled by #navMainWrapper

  5. #5
    Join Date
    Feb 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Apple Zen Support Thread

    Quote Originally Posted by jettrue View Post
    You don't need to find the file with the header bar, you just need to open up includes/templates/apple_zen/css/stylesheet.css. That background color is controlled by #navMainWrapper
    Thanks for your help, I appreciate it!

  6. #6
    Join Date
    Mar 2008
    Posts
    20
    Plugin Contributions
    0

    Default Re: Apple Zen Support Thread

    Hi, i wish to add mini ad banners to the side grey box area. how can i do it?

  7. #7
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Apple Zen Support Thread

    Quote Originally Posted by droidwork View Post
    Hi, i wish to add mini ad banners to the side grey box area. how can i do it?
    Use the built in zen cart banner manager, under "Tools", "Banner Manager". Turn on a banner sidebox under "Tools", "layout boxes controller".

  8. #8
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Apple Zen Support Thread

    Quote Originally Posted by misticloudz View Post
    hi jade, i'm still loving the apple zen, but having a few small problems (well just one right now, i've figured most of the others out to some extent)...
    i'm trying to change the search header at the top, and i know that you're not too keen on adjusting inputs, but i'm just wondering if you have some insight into why i *cannot* get the search button and the input box to line up vertically. I just want them to line up that way, i'm not worried about width wise unless they're SUPER far apart.
    here is my css code for the #navmainsearch section:

    Code:
    #navMainSearch {
    /*area around search box and button including whole navmain area*/
    	margin:0 auto ; 
    	text-align:right;
    	padding:0px 0px 0px 0px;
    	}	
    
    #navMainSearch input {
    /*seems to move the search button*/
    	margin:0px ;
        background-color:#A1C541;
    	text-align:right;
    	padding:0px 0px;
    	}	
    
    #navMainSearch input[type=text] {
       	margin: 0px 0 0 0;   
       	}
    
    #navMainSearch input.topSearch{       
       	margin: 0 0 0px 0px;    
       	padding: 0px 0 0 0;
       	}
    i have this at code starting at line 19 of my tpl_search_header.php file:
    PHP Code:
    $content .= zen_draw_input_field('keyword''''size="6" maxlength="30" style="width: 100px" value="' HEADER_SEARCH_DEFAULT_TEXT '" onfocus="if (this.value == \'' HEADER_SEARCH_DEFAULT_TEXT '\') this.value = \'\';" onblur="if (this.value == \'\') this.value = \'' HEADER_SEARCH_DEFAULT_TEXT '\';"') . '&nbsp;<input type="image" img src="images/button_search.gif"' HEADER_SEARCH_BUTTON '" style="width: 70px" />'
    to give it a button image instead of the standard search button.

    basically the only reason i'm doing this is because i want the navmain area to be the same height as the dropdown menu link height, so it balances evenly on top and bottom of the header image... and the standard search thingie was just too tall and i'm too much of a noob to figure out how to make my own imaged search thingie like you have in cherry zen...

    if anybody else has any suggestions, i'd love to hear them too!
    thanks so much!
    You're making this way to complicated, and your code above isn't correct. I don't normally STYLE inputs, but I certainly don't have a problem adjusting their padding, LOL. First, put back the original tpl_search_header.php:

    Code:
    <?php
    /**
     * Side Box Template
     *
     * @package templateSystem
     * @copyright Copyright 2003-2006 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: tpl_search_header.php 4142 2006-08-15 04:32:54Z drbyte $
     */
      $content = "";
      $content .= zen_draw_form('quick_find_header', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get');
      $content .= zen_draw_hidden_field('main_page',FILENAME_ADVANCED_SEARCH_RESULT);
      $content .= zen_draw_hidden_field('search_in_description', '1') . zen_hide_session_id();
    
      if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes') {
        $content .= zen_draw_input_field('keyword', '', 'size="6" maxlength="30" class="topSearch" style="width: 16%" value="' . HEADER_SEARCH_DEFAULT_TEXT . '" onfocus="if (this.value == \'' . HEADER_SEARCH_DEFAULT_TEXT . '\') this.value = \'\';" onblur="if (this.value == \'\') this.value = \'' . HEADER_SEARCH_DEFAULT_TEXT . '\';"') . '&nbsp;' . zen_image_submit (BUTTON_IMAGE_SEARCH,HEADER_SEARCH_BUTTON);
      } else {
        $content .= zen_draw_input_field('keyword', '', 'size="6" maxlength="30" class="topSearch" style="width: 16%" value="' . HEADER_SEARCH_DEFAULT_TEXT . '" onfocus="if (this.value == \'' . HEADER_SEARCH_DEFAULT_TEXT . '\') this.value = \'\';" onblur="if (this.value == \'\') this.value = \'' . HEADER_SEARCH_DEFAULT_TEXT . '\';"') . '&nbsp;' . zen_image_submit (BUTTON_IMAGE_SEARCH,HEADER_SEARCH_BUTTON);
      }
      $content .= "</form>";
    ?>
    Then upload your new search button as: includes/templates/apple_zen/buttons/english/button_search.gif

    Replace the following sections of css with this:

    Code:
    #navMainSearch {
    	margin:0 auto;
    	text-align:right;
    	padding:0 5px;
    	}
    	
    #navMainSearch input {
    	margin:0 auto;
    	text-align:right;
    	padding:1px 5px;
            background-color:#A1C541;
    	}
    	
    #navMainSearch input[type=text] {
       	margin: 2px 0 0 1em;
       	}
    
    #navMainSearch input.topSearch{
       	margin: 0 0 5px 2px;
       	padding: 0 0 0 0;
       	vertical-align: bottom;
       	}
       	}

  9. #9

    Default Re: Apple Zen Support Thread

    I don't normally STYLE inputs, but I certainly don't have a problem adjusting their padding, LOL.
    awesome, jade, thank you so much. i knew that i was making it too hard, but just coudln't figure it out...
    thanks again! :-)
    Tiffany Rose
    Frozen Rose Design

  10. #10
    Join Date
    Mar 2008
    Posts
    20
    Plugin Contributions
    0

    Default Re: Apple Zen Support Thread

    thank you so much for your help

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Zen Lightbox addon [Support Thread]
    By Alex Clarke in forum All Other Contributions/Addons
    Replies: 3726
    Last Post: 2 Feb 2026, 06:28 PM
  2. Cherry Zen Template Support Thread
    By jettrue in forum Addon Templates
    Replies: 3250
    Last Post: 13 Nov 2017, 08:02 PM
  3. v151 Zen Magnific Support Thread
    By mutinyzoo in forum All Other Contributions/Addons
    Replies: 79
    Last Post: 14 Sep 2015, 04:39 AM
  4. Simple Zen Template - Support Thread
    By jettrue in forum Addon Templates
    Replies: 461
    Last Post: 27 Apr 2013, 01:33 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