Results 1 to 10 of 17

Hybrid View

  1. #1
    Join Date
    Mar 2011
    Posts
    9
    Plugin Contributions
    0

    Default Manafucturers Sidebox dropdown colours

    I currently building a site, and while these forums have been great at helping with many other problems, I can't find a solution to this seemingly very simple one.

    I can't seem to find out how change either the text colour or background colour in the manafucturers sidebox dropdown menu. I searched for a long while to find a solution with no success, so any help would be appreciated.

    The site I am building is at http://www.woolbasket.co.uk/zen-cart/

  2. #2
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: Manafucturers Sidebox dropdown colours

    Check the file manufacturers_select.php in
    includes/templates/YOUR_TEMPLATE/sideboxes

  3. #3
    Join Date
    Mar 2011
    Posts
    9
    Plugin Contributions
    0

    Default Re: Manafucturers Sidebox dropdown colours

    The only tpl_manufacturers_select.php I have is situated at

    /public_html/zen-cart/includes/templates/template_default/sideboxes

    I've played around with it but I don't know where or what code to change the background/ text colour.

    This is the contents of the file:

    <?php
    /**
    * Side Box Template
    *
    * @package templateSystem
    * @copyright Copyright 2003-2010 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_manufacturers_select.php 15882 2010-04-11 16:37:54Z wilt $
    */
    $content = "";
    $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">';
    $content.= zen_draw_form('manufacturers_form', zen_href_link(FILENAME_DEFAULT, '', $request_type, false), 'get');
    $content .= zen_draw_hidden_field('main_page', FILENAME_DEFAULT);
    $content .= zen_draw_pull_down_menu('manufacturers_id', $manufacturer_sidebox_array, (isset($_GET['manufacturers_id']) ? $_GET['manufacturers_id'] : ''), 'onchange="this.form.submit();" size="' . MAX_MANUFACTURERS_LIST . '" style="width: 90%; margin: auto;background: #6b8627;"') . zen_hide_session_id();
    $content .= '</form>';
    $content .= '</div>';
    ?>

  4. #4
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: Manafucturers Sidebox dropdown colours

    You are using estorenow template, check in the folder sideboxes of that template.

    If you want to change it with the default one, copy tpl_manufacturers_select.php and put it in the sideboxes folder of the estorenow template, and edit the red part of the code for your color

    $content .= zen_draw_pull_down_menu('manufacturers_id', $manufacturer_sidebox_array, (isset($_GET['manufacturers_id']) ? $_GET['manufacturers_id'] : ''), 'onchange="this.form.submit();" size="' . MAX_MANUFACTURERS_LIST . '" style="width: 90%; margin: auto;background: #6b8627;"') . zen_hide_session_id();

  5. #5
    Join Date
    Mar 2011
    Posts
    9
    Plugin Contributions
    0

    Default Re: Manafucturers Sidebox dropdown colours

    I don't have a tpl_manufacturers_select.php in estorenow sidebox folder (even did a search using the developers toolkit to be sure). Would it be fine to just copy the default one in?

  6. #6
    Join Date
    Mar 2011
    Posts
    9
    Plugin Contributions
    0

    Default Re: Manafucturers Sidebox dropdown colours

    Update: I tried that and still no luck.

    also I have noticed that I was the one to place "background: #6b8627;" there, in the hope that it would work. Unfortunatly it didn't.

 

 

Similar Threads

  1. Edit information sidebox hyperlink colours
    By Muzz in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Sep 2009, 04:27 AM
  2. Change the colours in SideBox Outside only please
    By Zook25 in forum Basic Configuration
    Replies: 10
    Last Post: 24 Aug 2009, 04:04 PM
  3. SideBox Header colours
    By quentinjs in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 17 Feb 2008, 02:38 AM
  4. Sidebox Column Colours
    By OJM in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Dec 2007, 09:08 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