Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change box layout by using STS


Guest

Recommended Posts

I just have Simple templet system installed

Everything working and am now setting up the layout of my store.

 

However I don't seem to be able to change the The layout of Category box.

I creat new image for The Category box and set "$categorybox" inside of this table. it will show both new image and orginal Oscommerce blue box.

 

How to make this change?? Please help!!! :(

Link to comment
Share on other sites

It sounds like you are wanting to alter the appearance of the categories box. You cannot do this with STS. All you can do is control it's placement. If you want to do something to the box, like change colors, you need to edit the stylesheet.css file.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

thanks so much for reply.

 

How if insert a image instead of color? Should I change from stylesheet.css too.

Where does this file located?

Sorry, I am new here. ;)

 

 

It sounds like you are wanting to alter the appearance of the categories box.  You cannot do this with STS.  All you can do is control it's placement.  If you want to do something to the box, like change colors, you need to edit the stylesheet.css file.

 

Jack

Link to comment
Share on other sites

The location is in your catalog directory. The file name is stylesheet.css. Search in it for items starting with infobox. Those control the appearance of the inforbox, which is what the categories box is. For example, you will see

.infoBoxContents {
 background: #f8f8f9;
 font-family: Verdana, Arial, sans-serif;
 font-size: 10px;
}

To see how it works, try changing it to

.infoBoxContents {
 background: #00ff00;
 font-family: Verdana, Arial, sans-serif;
 font-size: 10px;
}

For a background image, you would replace

background: #00ff00;

with

BACKGROUND-IMAGE: url(images/some_image.gif);

For many more examples, search the forums for infobox.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...