lisaschon Posted April 20, 2009 Posted April 20, 2009 As you will see from my site, :rolleyes: The Healthy Remedy Store, I have been changing the colors, adding headers (thank you for helping me out on that one), but can someone please tell me why some of the original box header color remains in the l/h/corner of each box and also the top l/h and r/h corner of the shopping cart one. Can anyone tell my why? I thought I'd try and get the color scheme to my liking before I had the headache of adding all the products.
Guest Posted April 20, 2009 Posted April 20, 2009 As you will see from my site, :rolleyes: The Healthy Remedy Store, I have been changing the colors, adding headers (thank you for helping me out on that one), but can someone please tell me why some of the original box header color remains in the l/h/corner of each box and also the top l/h and r/h corner of the shopping cart one. Can anyone tell my why? I thought I'd try and get the color scheme to my liking before I had the headache of adding all the products. Those are images being loaded. See http://www.healthyremedystore.com/images/infobox/
germ Posted April 21, 2009 Posted April 21, 2009 How to remove the gray corners If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
lisaschon Posted April 21, 2009 Author Posted April 21, 2009 OK. I have changed the code as follows: $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => $left_corner), array('params' => 'width="100%" height="14" class="infoBoxHeading"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="infoBoxHeading" nowrap', 'text' => $right_corner)); But the grey corners are still there. Could it be related to the code directly above that already altered? I have copied this code below and highlighted in blue the images that are trying to load. If this is the cause of the grey boxes (images) then what should I change the code to? class infoBoxHeading extends tableBox { function infoBoxHeading($contents, $left_corner = true, $right_corner = true, $right_arrow = false) { $this->table_cellpadding = '0'; if ($left_corner == true) { $left_corner = tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif'); } else { $left_corner = tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif'); } if ($right_arrow == true) { $right_arrow = '<a href="' . $right_arrow . '">' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>'; } else { $right_arrow = ''; } if ($right_corner == true) { $right_corner = $right_arrow . tep_image(DIR_WS_IMAGES . 'infobox/corner_right.gif'); } else { $right_corner = $right_arrow . tep_draw_separator('pixel_trans.gif', '11', '14'); Any help is very much appreciated. ;) OH - Hold on minute I have just found this thread - http://addons.oscommerce.com/info/4764 - about transparent gifs. Let me see how I get on this this one.
lisaschon Posted April 21, 2009 Author Posted April 21, 2009 That addon - did the job. Wow this site is fantastic. Thank's everyone. Isn't learning fun! :lol:
♥14steve14 Posted April 22, 2009 Posted April 22, 2009 That addon - did the job. Wow this site is fantastic. Thank's everyone. Isn't learning fun! :lol: if you want to play with the colours of your site, download a free programme called "topstyle lite". it allows you to edit your stylesheet and see what changes you are making. I found it a great help. REMEMBER BACKUP, BACKUP AND BACKUP
lisaschon Posted April 22, 2009 Author Posted April 22, 2009 if you want to play with the colours of your site, download a free programme called "topstyle lite". it allows you to edit your stylesheet and see what changes you are making. I found it a great help. Thanks Steve, I have downloaded it and am sure that I will make use of it. What a good idea! Lisa
Recommended Posts
Archived
This topic is now archived and is closed to further replies.