Page 183 of 305 FirstFirst ... 83133173181182183184185193233283 ... LastLast
Results 1,821 to 1,830 of 3042
  1. #1821

    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. #1822
    Join Date
    Feb 2008
    Posts
    9
    Plugin Contributions
    0

    Default Property behavior doesn't exist : url(includes/csshover.htc)


  3. #1823
    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".

  4. #1824
    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

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

    Default Re: Property behavior doesn't exist : url(includes/csshover.htc)

    Quote Originally Posted by bajajsakti View Post
    You can ignore that error.

  6. #1826
    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

  7. #1827
    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;
       	}
       	}

  8. #1828
    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!

  9. #1829
    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?

  10. #1830
    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".

 

 

Similar Threads

  1. Zen Lightbox addon [Support Thread]
    By Alex Clarke in forum All Other Contributions/Addons
    Replies: 3725
    Last Post: 20 Feb 2025, 05:46 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

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