joongpark Posted December 4, 2002 Posted December 4, 2002 Which file has value for box_width? I want to change size of left box width...thanks/
Ajeh Posted December 4, 2002 Posted December 4, 2002 BOX_WIDTH is defined in application_top.php NOTE: This controls both the left and right side.
joongpark Posted December 4, 2002 Author Posted December 4, 2002 I changed the value but size of the box is not changing.... Do I need to change something else or is this because of something else?
Ajeh Posted December 4, 2002 Posted December 4, 2002 Keep in mind a width is the minimum width. The width is determined by size of text and images, then by the size of the settings in the tags. Clear the cache, close the browsers, etc. :D
plump1 Posted December 14, 2002 Posted December 14, 2002 Thank you so much Linda for letting us know how to change the width of the columns. Do you or anybody else know how to change the space between the infoboxes to make the boxes appear spaced farther apart. Thank you, Joe
Ajeh Posted December 14, 2002 Posted December 14, 2002 What you need to find on the key pages like default.php is the setting for the cellpadding and change it to larger or smaller. For the left column ... <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> Then at the bottom for the right column ... <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> Keep in mind that the cellpadding is also effecting the spacing left to right and not just above. You could be more precise on the extra spacing by adding in a spacer between the boxes ... :D
plump1 Posted December 14, 2002 Posted December 14, 2002 thanks Linda that worked. Santa left you a little something in your paypal stocking :) Joe
Ajeh Posted December 14, 2002 Posted December 14, 2002 thanks Linda that worked. Santa left you a little something in your paypal stocking :) Joe Thanks Joe ... Santa is a jolly good elf! :xmas:
joongpark Posted December 14, 2002 Author Posted December 14, 2002 Hi Linda. Are you still working on that box style project? Can you let me know what stage you are in...thanks.
Ajeh Posted December 14, 2002 Posted December 14, 2002 The one using Thema? or the one controlling the columns? or the one using two box definitions? :shock: I have a few box projects I am working on :D
joongpark Posted December 15, 2002 Author Posted December 15, 2002 The one that allows different colors for different boxes. waiting for that one anxiously...thanks.
Ajeh Posted December 15, 2002 Posted December 15, 2002 Yes working on that one. You can peek over at: http://www.thewebmakerscorner.com/freegv Each box has it's own stylesheet. Other than that, they run through the same box builder. This allows for a lot of flexibility with just changes to the stylesheet itself. Ignore any messies you might see while this is being worked on ... and if broke ... wait a few minutes and try a refresh ... :shock:
joongpark Posted December 15, 2002 Author Posted December 15, 2002 Very nice...exavtly what I was asking about. Do you know how soon you will finalize it ?? 8)
Ajeh Posted December 15, 2002 Posted December 15, 2002 I am working on the *master* stylesheets a box might need and making sure that everything is now designed based on Thema with just a *few* ittsy bittsy alterations from moi ... :shock: Okay so I rewrote the themaboxes.php to be more versitile ... and added in the unique stylesheet peices for the boxes and made them flexilble enough that if you don't want one seperate stylesheet for each box, you could share stylesheets between them when they are to have the same look. And the buttons are now thema oriented and language oriented ... You come up with the buttons ... I am just making it work. The new buttons being designed now are really nice for this as well. I will also have an optional footer definition for the boxes that can be called seperately and have its own settings within the given stylesheet being used. And, if a box isn't using unique stylesheets, then they can be set to default to the normal stylesheet. Basically it's stick a peice of code in the box at the top and a peice of code at the bottom and voila ... unique box ... with all the current features of the existing boxes for headers, corners, etc. And, the header and footer naturally would be included in this with logo and My Account, Shopping Cart and Checkout images as well. Debating on the left and right columns as you could set those up for occaisions where a thema looks better without a right column or left column for a holiday or something. Then the standard modules with that utilize the boxes.php which is now the themaboxes.php also can use this new method to provide them with the new look as well. So this covers just a few of the high points ... :D What I like is that there is not a lot of coding involved here for you guys, just define your new box stylesheets to look the way you want the boxes to look and they will automatically flow with the code. Add headers, text, links or hovers and don't like the colors in that box or the box colors itself? Just edit its style sheet and you do not mess up anything else in the site. Want to utilize just one box with images and not put them in all boxes? Just edit the stylesheets. I am no magician when it comes to stylesheets, but for those of you who are, you are really going to like this. 8)
joongpark Posted December 15, 2002 Author Posted December 15, 2002 Holy...Thanks for taking your time to explain all that. It looks like it's going to make alot of people. With all the buttons in the development and your box style thema, finally many people will be able to get out of that Oscommerce default look. Thanks for all the nice work and help you always provide.
Ajeh Posted December 15, 2002 Posted December 15, 2002 Credit goes to Peter ... he started the thema concept ... I am just taking it to the next level ... 8)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.