chrometweaks.org

What's a good free iPage web host besides weebly?

Click Here To View All Answers...


First question I got is What's a good free iPage web host besides weebly? Many thanks for any response. Second question of mine... I want to put a background color or border on some of the infobox but not others. Can anyone how to do this?..

Comments (78)

Hmm... I need to find out myself. I don't know what is the right answer to your question. I'll do some poking around and get back to you if I bump into an anything. You should email the people at iPage as they probably can answer it..

Comment #1

Try this one :.

Open file.

Includes/classes/boxes.php.

And find.

Function infoBoxContents($contents) {.

$this->table_cellpadding = '3';.

$this->table_parameters = 'class="infoBoxContents"';.

$info_box_contents = array();.

Change to this.

Function infoBoxContents($contents) {.

Global $css_class;.

$this->table_cellpadding = '3';.

$this->table_parameters = 'class="'.$css_class.'"';.

$info_box_contents = array();.

After that you need make changes to each box in.

/includes/boxes/.

Find this.

<! information //>.

<?php.

$info_box_contents = array();.

And change to this.

<! information //>.

<?php.

Global $css_class;.

$css_class = "infoBoxContents_FILE_NAME";.

$info_box_contents = array();.

FILE_NAME is different name for each box (can be number or word).

After that you will open stylesheet.css and give to each class you made.

Properties you like.

TABLE.infoBoxContents_FILE_NAME {.

Background-color: #FFFFF1;.

}.

Hope I was clear..

Comment #2

Thanks! I just need to brush up on my CSS...

Comment #3

Okay, success! But now that I've gotten the border on the ones I want, I find that the information.php is controling to boxes. One I want the border on the other I don't. Any help? Here is the code for the informatio.php.

<?php.

/*.

 $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $.

 osCommerce, Open Source E-Commerce Solutions.

 http://www.oscommerce.com.

 Copyright (c) 2003 osCommerce.

 Released under the GNU General Public License.

*/.

?>.

<! information //>.

         <tr>.

           <td>.

<?php.

Global $css_class;.

$css_class = "infoBoxContents_border";.

$info_box_contents = array();.

 $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION);.

 new infoBoxHeading($info_box_contents, false, false);.

 $info_box_contents = array();.

 $info_box_contents[] = array('text' => '<a href="'tep_href_link(FILENAME_SHIPPING)'">'BOX_INFORMATION_SHIPPING'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_PRIVACY)'">'BOX_INFORMATION_PRIVACY'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_CONDITIONS)'">'BOX_INFORMATION_CONDITIONS'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_CONTACT_US)'">'BOX_INFORMATION_CONTACT'</a>');.

 new infoBox($info_box_contents);.

?>.

           </td>.

         </tr>.

<! information_eof //>.

Here is a picture of the problem;..

Comment #4

If you want to make border to this box , you need to look in your stylesheet.css.

And add border-width: 2px;.

Border-color: #872507;.

Border-style: solid;.

To class relevant to that box.

The class should be unique for that box ,otherwise it will change to other box.

Border-style ; border-color ; border-width ; you will choose (here only example)..

Comment #5

The problem is: I don't know how to specify a particular box in the php file...

Comment #6

You made box for Account info , isn't it..

In that box have line.

$css_class = "infoBoxContents_FILE_NAME";.

FILE_NAME is a unique for that box.

So.... you need to find same class in your stylesheet.css and work with this class..

Not really undarstand what php file you mean...

Comment #7

I want to put a background color or border on some of the infobox but not others. Can anyone how to do this?..

Comment #8

You can find everyting you want to change over here :.

Http://wiki.oscommer...ylesheetCatalog.

Good luck..

Comment #9


This question was taken from a support group/message board and re-posted here so others can learn from it.