Jump to content

Archived

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

BaKerSKater19

Box Color

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 >

Share this post


Link to post
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 >

Share this post


Link to post
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.

Share this post


Link to post
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 >

Share this post


Link to post
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

Share this post


Link to post
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 >

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 >

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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 >

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
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.

 

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?

Share this post


Link to post
Share on other sites

×