Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need Box Help


KDOG

Recommended Posts

How do I get rid of the white between boxes? I want them all right togther so the right side looks like left side.

 

http://www.treasuresofhope.net/store/

 

Also, please tell me how to make black text in right boxes white. The css doesnt seem to help much.

 

Thanks

Look for this:

<!-- body_text_eof //-->

in /store/index.php

 

below that change cellpadding="2" in this:

    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

to ="0"

 

you may need to do this on other pages as well - i didn't look at any of the others.

 

REGARDING CSS ON RIGHT:

it looks like your just changing your class infoBoxContents1, not

A {
 color: #000000;
 text-decoration: none;
}

which is where your anchor tags are being controlled. change your black there to white and you should be groovy :thumbsup: .

 

(note the bold in your infoBoxContents1 class is influencing your anchor tags, but the color is not - it would be wise to put the bold in the A class for consistency.)

Link to comment
Share on other sites

Look for this:
<!-- body_text_eof //-->

in /store/index.php

 

below that change cellpadding="2" in this:

 ? ?<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

to ="0"

 

you may need to do this on other pages as well - i didn't look at any of the others.

 

REGARDING CSS ON RIGHT:

it looks like your just changing your class infoBoxContents1, not

A {
?color: #000000;
?text-decoration: none;
}

which is where your anchor tags are being controlled. change your black there to white and you should be groovy  :thumbsup: .

 

(note the bold in your infoBoxContents1 class is influencing your anchor tags, but the color is not - it would be wise to put the bold in the A class for consistency.)

 

 

The boxes still have a little white left between them. Any ideas?

 

Thanks for the help so far :thumbsup:

Link to comment
Share on other sites

How do I get rid of the white between boxes? I want them all right togther so the right side looks like left side.

 

http://www.treasuresofhope.net/store/

 

Also, please tell me how to make black text in right boxes white. The css doesnt seem to help much.

 

Thanks

 

you'll have to post your /store/index.php file - it doesn't look like what's going on was part of the original index.php file that was installed. you have a style infoboxborder on a table that isn't being used by stylesheet.php... in that table there is a cellpadding set to ="1". This could be it, but I can't really tell w/o seeing the original file. paste it up here if you'd like me to have a better look...

 

i'm just a hack - but i'm glad to help.

 

cheers,

-jp

Link to comment
Share on other sites

you'll have to post your /store/index.php file - it doesn't look like what's going on was part of the original index.php file that was installed. you have a style infoboxborder on a table that isn't being used by stylesheet.php... in that table there is a cellpadding set to ="1". This could be it, but I can't really tell w/o seeing the original file. paste it up here if you'd like me to have a better look...

 

i'm just a hack - but i'm glad to help.

 

cheers,

-jp

 

 

I got it :D the last 1 px was in each boxes php.

 

Now for one last question. How in the world do I make right boxes text look like that of the left? The left is all html menu from main sites page, and I have no clue how to make it look the same in the boxes from script.

 

Is it even possible?

Link to comment
Share on other sites

I got it :D  the last 1 px was in each boxes php.

 

Now for one last question. How in the world do I make right boxes text look like that of the left?  The left is all html menu from main sites page, and I have no clue how to make it look the same in the boxes from script.

 

Is it even possible?

 

i'm not sure what you mean.. the same font?

Link to comment
Share on other sites

Same font with the dot in front of each new line, and how if line is long, it drops down underneth, instead of extending to where you cant see it.

this is your /store/includes/boxes/categories.php file. you'll have to do some tweaking in there in order to make it the same. right now there's a line break

    $categories_string .= '<br>';

around line 54 that is putting the product on the next line. you could turn that into a bulletted list in categories.php, or you could style a bulleted list with css in stylesheet.css.

 

either way, you're into a project... don't expect a quick fix. if you're not confident with doing that yourself, you could search the contributions for a bulleted list categories file that has already been posted.

 

cheers,

-jp

Link to comment
Share on other sites

this is  your /store/includes/boxes/categories.php file. you'll have to do some tweaking in there in order to make it the same. right now there's a line break
 ? ?$categories_string .= '<br>';

around line 54 that is putting the product on the next line. you could turn that into a bulletted list in categories.php, or you could style a bulleted list with css in stylesheet.css.

 

either way, you're into a project... don't expect a quick fix. if you're not confident with doing that yourself, you could search the contributions for a bulleted list categories file that has already been posted.

 

cheers,

-jp

 

I'll tell you one thing, there are to many places that need changes just for boxes. And changing the A spot in css hurt the text in center box, which sucks. Why can't one area in css be just for boxes?

 

A {

color: #000000;

font-family: Arial;

font-weight: bold;

text-decoration: none; font-size:10pt

}

 

So i change that to FFFFFF for box color, then center gets messed up, sorry, but thats just not right. I may be pretty new at this part, but still would be easier if color for box text was somewhere else, and didbt change the color for center box.

Link to comment
Share on other sites

I'll tell you one thing, there are to many places that need changes just for boxes. And changing the A spot in css hurt the text in center box, which sucks. Why can't one area in css be just for boxes?

 

A {

  color: #000000;

font-family: Arial;

font-weight: bold;

text-decoration: none; font-size:10pt

}

 

So i change that to FFFFFF for box color, then center gets messed up, sorry, but thats just not right. I may be pretty new at this part, but still would be easier if color for box text was somewhere else, and didbt change the color for center box.

you don't have to be sorry, just create a new css class and everything will be fine. i'm new at this too... there are some css classes that just apply to the boxes - at least the headers. it's easy enough to create your own anchor class and reference it in the appropriate files.

Link to comment
Share on other sites

you don't have to be sorry, just create a new css class and everything will be fine. i'm new at this too... there are some css classes that just apply to the boxes - at least the headers. it's easy enough to create your own anchor class and reference it in the appropriate files.

 

 

I tried to find where boxes call to

 

A {

color: #000000;

font-family: Arial;

font-weight: bold;

text-decoration: none; font-size:10pt

}

 

 

but cant find it. I did make new one just for boxes, but need to find where it makes the call first. Thats why it bugs me how you have to look in so many different files just for the boxes. I have work with other programs that are not as hard as this one. Hopefully this will be my last store to worry about..lol But the lady that owns it is really hard to please.

Link to comment
Share on other sites

I tried to find where boxes call to

 

A {

  color: #000000;

font-family: Arial;

font-weight: bold;

text-decoration: none; font-size:10pt

}

 

 

but cant find it. I did make new one just for boxes, but need to find where it makes the call first. Thats why it bugs me how you have to look in so many different files just for the boxes. I have work with other programs that are not as hard as this one. Hopefully this will be my last store to worry about..lol  But the lady that owns it is really hard to please.

how familiar are you with css?

A {
 color: #000000;
font-family: Arial;
font-weight: bold;
text-decoration: none; font-size:10pt
}
 

is setting the 'style' for all of the anchor tags in your /store directory...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...