WickedCoolers Posted April 11, 2003 Share Posted April 11, 2003 In Header.php, there is an option to put a table border in, how can I change the colour of the border as I can't find any other files relating to it????? The hardest thing in life is watching someone you love, love someone else. Link to comment Share on other sites More sharing options...
Guest Posted April 11, 2003 Share Posted April 11, 2003 In header.php itself. Change: <table border="0" width="100%" cellspacing="0" cellpadding="0"> to: <table border="5" width="100%" cellspacing="0" cellpadding="0" bordercolor="#0000EE"> I just put in my own values for the border size and color... put whatever you like...... There is more info on bordercolor tags here: http://www.htmlcodetutorial.com/tables/ind...amsupp_149.html Link to comment Share on other sites More sharing options...
WickedCoolers Posted April 11, 2003 Author Share Posted April 11, 2003 thanks for that, very helpful :-) the default colour is 2 shades of grey, one shade fills the top and left side and the other shade fills the bottom and right, do you know how I can have this? The hardest thing in life is watching someone you love, love someone else. Link to comment Share on other sites More sharing options...
Guest Posted April 11, 2003 Share Posted April 11, 2003 Follow the topic through on bordercolor at the URL I gave you Link to comment Share on other sites More sharing options...
WickedCoolers Posted April 11, 2003 Author Share Posted April 11, 2003 sorry to be a pain but do you know which file I need to edit to be able to put a border around the boxes in the columns?? The hardest thing in life is watching someone you love, love someone else. Link to comment Share on other sites More sharing options...
Guest Posted April 11, 2003 Share Posted April 11, 2003 catalog/includes/classes/boxes.php Link to comment Share on other sites More sharing options...
WickedCoolers Posted April 11, 2003 Author Share Posted April 11, 2003 figures :-) I deleted the left and right corner images form the boxes and for some reason the right arrow does not show anymore, this is what it looks like now: class infoBoxHeading extends tableBox { function infoBoxHeading($contents, $right_arrow = true) { $this->table_cellpadding = '0'; if ($right_arrow) { $right_arrow = '<a href="' . $right_arrow . '">' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>'; } else { $right_arrow = ''; } [code] can you see any reason why that code should not display the arrow? and do you know how I can make the text in the box ie. Categories, into a link instead of having an arrow?? The hardest thing in life is watching someone you love, love someone else. Link to comment Share on other sites More sharing options...
Guest Posted April 11, 2003 Share Posted April 11, 2003 You didn't need to delete code from this file to remove the corner images... just change the settings in the boxes files in catalog/includes/boxes.... eg. shopping cart.php: new infoBoxHeading($info_box_contents, false, true, tep_href_link(FILENAME_SHOPPING_CART)); to: new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_SHOPPING_CART)); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.