kdogg Posted October 6, 2006 Posted October 6, 2006 How do I add a border to the left and right side of my OS Comm card so it looks more like this: http://www.shopsplatattack.com/ I like how its centered in the middle of the page and I'm sure its simple to do but i dont know how. Complete noob here :)
bill110 Posted October 7, 2006 Posted October 7, 2006 How do I add a border to the left and right side of my OS Comm card so it looks more like this: http://www.shopsplatattack.com/ I like how its centered in the middle of the page and I'm sure its simple to do but i dont know how. Complete noob here :) Lots of work there. First in catalog/stylesheet.css at the top see: BODY { background: #ffffff; color: #000000; margin: 0px; Remove the margin code change the background:# to what you want it to be. example for black: BODY { background: #000000; color: #000000; Then on catalog/index.php(and every other file you want this on find: <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3" > change in the first line: leftmargin and rightmargin to the number of pixels you want the page from the edges on each side.example: <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="40" rightmargin="40"> then in the table make the background color for the center part. <table border="0" width="100%" cellspacing="3" cellpadding="3" bgcolor="#ffffff"> this has to be done to every page you want to look like this My Contributions Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly Password Protect Admin "No matter where you go....There you are" - Buccaroo Bonsai
♥14steve14 Posted October 7, 2006 Posted October 7, 2006 There are several contributions that can do this easier that mofifying every file. it can be found hhere REMEMBER BACKUP, BACKUP AND BACKUP
squeekit Posted October 7, 2006 Posted October 7, 2006 actually, i believe, you only have to modify two files > the header.php and the footer.php (from the includes folder) - simple edits too - maybe (and that's a big "MAYBE") a simply edit to the stylesheet too...
kdogg Posted October 7, 2006 Author Posted October 7, 2006 actually, i believe, you only have to modify two files > the header.php and the footer.php (from the includes folder) - simple edits too - maybe (and that's a big "MAYBE") a simply edit to the stylesheet too... I think you would be right because the guy who posted above you, that link he gave to that contribution is only the header and footer files to do what I'm after. Thanks guys :)
kdogg Posted October 7, 2006 Author Posted October 7, 2006 Ok, um, what files do I send to fix all this grey? http://rare.ncats.net/~empire/catalog/ This is my test server so it doesnt matter how much i mess it up but I cant get rid of all that grey crap now :( I tried editing things in the style sheet etc. what am I missing?
usernamenone Posted October 7, 2006 Posted October 7, 2006 in your stylesheet look for BODY { background: #f8f8f9; f8f8f9 is the color grey of the boxes that comes with oscommerce. If that isn't the color grey you want replace that code with the grey you would like to use. Color picker here. http://www.pagetutor.com/colorpicker/index.html Ok, um, what files do I send to fix all this grey?http://rare.ncats.net/~empire/catalog/ This is my test server so it doesnt matter how much i mess it up but I cant get rid of all that grey crap now :( I tried editing things in the style sheet etc. what am I missing?
kdogg Posted October 7, 2006 Author Posted October 7, 2006 in your stylesheet look for BODY { background: #f8f8f9; f8f8f9 is the color grey of the boxes that comes with oscommerce. If that isn't the color grey you want replace that code with the grey you would like to use. Color picker here. http://www.pagetutor.com/colorpicker/index.html Ummm ok I got it but umm http://www.empireairsoft.com/catalog/ LOL... I think it doesnt like my pictures :( Why didnt it auto resize them to make it fit?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.