BaKerSKater19 Posted December 29, 2008 Share Posted December 29, 2008 On my site, I changed the color of the sides of the boxes, but some of all of the boxes are gray. My site is concretefbs.ej.am/catalog/ How do I make the gray parts purple? Link to comment Share on other sites More sharing options...
BaKerSKater19 Posted December 29, 2008 Author Share Posted December 29, 2008 **double post*** I took away the rounded edges but it still does the same thing... Link to comment Share on other sites More sharing options...
germ Posted December 29, 2008 Share Posted December 29, 2008 The gray areas are images. Read this and decide which way you want to proceed: click me 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 > Link to comment Share on other sites More sharing options...
BaKerSKater19 Posted December 29, 2008 Author Share Posted December 29, 2008 Thanks for the link. But still, for some reason, where it says"New prodeucts for December", it has a bit of gray on the sides. How do I change that? Link to comment Share on other sites More sharing options...
germ Posted December 29, 2008 Share Posted December 29, 2008 /catalog/includes/classes/boxes.php In the function: function contentBoxHeading($contents) { Old code $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif')), array('params' => 'height="14" class="infoBoxHeading" width="100%"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif'))); New code: $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => ' '), array('params' => 'height="14" class="infoBoxHeading" width="100%"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="infoBoxHeading"', 'text' => ' ')); BACKUP BEFORE MAKING ANY EDITS. 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 > Link to comment Share on other sites More sharing options...
BaKerSKater19 Posted December 30, 2008 Author Share Posted December 30, 2008 Thanks. My only problem now is the logo. I looked at the thread, and changed it to mine, but my logo doesn't show up, only a broken image thing does. Also, whenever I click on 'checkout' or 'create account', I get: Warning: Cannot modify header information - headers already sent by (output started at /home/bakerska/public_html/catalog/includes/languages/english.php:323) in /home/bakerska/public_html/catalog/includes/functions/general.php on line 33 Thanks for all your help. Link to comment Share on other sites More sharing options...
germ Posted December 30, 2008 Share Posted December 30, 2008 The logo doesn't show because the image file the HTML points to isn't on the server: http://concretefbs.ej.am/catalog/images/oscbannerlogo.jpg Headers Already Sent Click the link above for an explanation. The problem is in /catalog/includes/languages/english.php (line 323) Probably "whitespace(s)" at the end. 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 > Link to comment Share on other sites More sharing options...
Guest Posted December 31, 2008 Share Posted December 31, 2008 On my site, I changed the color of the sides of the boxes, but some of all of the boxes are gray. My site is concretefbs.ej.am/catalog/ How do I make the gray parts purple? Hi, How did you chnagethe colour of these - I want to change the colour ofmine to cerise / dark pink. Grateful for any info.... Many thanks Link to comment Share on other sites More sharing options...
germ Posted December 31, 2008 Share Posted December 31, 2008 Stylesheet changes to alter the box and header colors: TD.headerNavigation { font-family: Verdana, Arial, sans-serif; font-size: 10px; background: #FF0000; /* this line */ color: #ffffff; font-weight : bold; } TD.footer { font-family: Verdana, Arial, sans-serif; font-size: 10px; background: #FF0000; /* this line */ color: #ffffff; font-weight: bold; } .infoBox { background: #FF0000; /* this line */ } TD.infoBoxHeading { font-family: Verdana, Arial, sans-serif; font-size: 10px; font-weight: bold; background: #FF0000; /* this line */ color: #ffffff; } (Note: the colors presently in the code are not the colors of a "vanilla" osC install) Sometimes after changing the stylesheet you have to hold the <Ctrl> key down while doing a page refresh in the browser to force the browser to reload all page contents from the server, including the newly changed stylesheet. This works with IE and Firefox. 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 > Link to comment Share on other sites More sharing options...
BaKerSKater19 Posted January 11, 2009 Author Share Posted January 11, 2009 Thanks so much. Also, for some reason, I started getting Fatal error: Call to a member function add_current_page() on a non-object in /home/bakerska/public_html/concretefingerboards.com/catalog/includes/application_top.php on line 312 Link to comment Share on other sites More sharing options...
germ Posted January 11, 2009 Share Posted January 11, 2009 Look at the links in my posts here: Click Me 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 > Link to comment Share on other sites More sharing options...
BaKerSKater19 Posted January 11, 2009 Author Share Posted January 11, 2009 Thank you so much for your continued support. Haha, I have a new question. For some reason, on the bottom of my site, my logo is there. Do you know how I can get rid of it? I'm not sure how I did it...Lol. Link to comment Share on other sites More sharing options...
germ Posted January 11, 2009 Share Posted January 11, 2009 The banners at the bottom are controlled by the banner manager in your admin. I've never used it. 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 > Link to comment Share on other sites More sharing options...
Linkat Posted January 19, 2009 Share Posted January 19, 2009 I have this same problem: corners of the boxes still have the old color. I've changed the code mentioned here but nothing changed. I really appreciate any suggestions? Thx! Link to comment Share on other sites More sharing options...
anola82 Posted June 7, 2009 Share Posted June 7, 2009 /catalog/includes/classes/boxes.php In the function: function contentBoxHeading($contents) { Old code $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif')), array('params' => 'height="14" class="infoBoxHeading" width="100%"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="infoBoxHeading"', 'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif'))); New code: $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => ' '), array('params' => 'height="14" class="infoBoxHeading" width="100%"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="infoBoxHeading"', 'text' => ' ')); BACKUP BEFORE MAKING ANY EDITS. I did this and now i get the following error message Fatal error: Call to a member function add_current_page() on a non-object in /home/stylemel/public_html/includes/application_top.php on line 313 I did a restore and it still wont work. What do I do now? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.