Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Box Color


BaKerSKater19

Recommended Posts

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

/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

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

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

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

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

  • 2 weeks later...

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

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

  • 4 months later...
/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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...