Jump to content
Sign in to follow this  
Osq

How to change box layout by using STS

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!!! :(

Share this post


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

Share this post


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

Share this post


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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×