Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  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.

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

    Default Re: Manafucturers Sidebox dropdown colours

    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.
    Exactly where did you put that?

    Anyhow, it should be ok, if you don't have a sideboxes folder in the estorenow template folder, create one, and put the copy of the manufacturers_select.php in there.

    What did you search for with the developer toolkit?
    Could you try searching for
    rgb(107, 134, 39)

    If you want to change only the color of the text put this in your stylesheet.css

    #manufacturersContent select {color: #000000;}

  8. #8
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,197
    Plugin Contributions
    0

    Default Re: Manafucturers Sidebox dropdown colours

    Ca,
    Locate this:
    zen-cart/includes/templates/estorenow/css/stylesheet.css
    Find this:
    option {
    background:none repeat scroll 0 0 #FFFFFF;
    }

    Change to this:

    option {
    background:none repeat scroll 0 0 #6B8627;
    {

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

    Default Re: Manafucturers Sidebox dropdown colours

    When I posted the code from the pl_manufacturers_select.php found in template_default, I neglected to mention that I had added 'background: #6b8627;', in the hopes of solving the problem. There was no mention of background when I opened it up fresh. I've copied that file into estorenow/sideboxes folder when no change.

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

    Default Re: Manafucturers Sidebox dropdown colours

    Tried that haredo and it changes to colour of my whole background so that I can't see the background image. This happens with all my pulldown menus (such as product filter) is there a way of changing something to do with that?

 

 
Page 1 of 2 12 LastLast

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