TCwho Posted December 1, 2004 Share Posted December 1, 2004 Hello everyone. I have searched the KB and Search the forum ...getting too many result...I am sure its here but I can narrow it down... How can I make my site a fixed width...instead of the 100% where it stretches out? thanks Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2004 Share Posted December 1, 2004 http://www.oscommerce.com/community/contri...ll/search,800px -jared Link to comment Share on other sites More sharing options...
TCwho Posted December 1, 2004 Author Share Posted December 1, 2004 Thanks! Will try it tonight. ...will come back to report success :thumbsup: :lol: ....now for people with other screen resolutions I wanted to set a background color to match my theme...will I have to do this in the CSS Stylesheet as well?... I guess I will find out tonight.... If I sound a little excited its only because Im really hungry and I got some take out food coming to my house so im jumping up and down lookin at window. ROFL Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
TCwho Posted December 1, 2004 Author Share Posted December 1, 2004 It WORKED! hahahaha ... Man. Thanks jared. 1 Question: In the instructions: Files effected and included, if you want to see changes in place. catalog\stylesheet.css (7 lines of code) catalog\include\header.php (1 line of code) catalog\include\footer.php (1 line of code) However ALL changes are in this txt file. ==================================== file = catalog\stylesheet.css line = any place, I used line 12 so I knew where to find it .centerpage { width: 770px; position: absolute; left: 50%; top: 0; margin-left: -385px; } ==================================== file = catalog\include\header.php line = 55, insert new line <div class= "centerpage" > ==================================== file = catalog\include\footer.php line = 60 (new last line in file), insert </div> ==================================== It worked for me without adding the line in footer.php ...but I added it anyway. I didnt have a line 60. But I added the "</div>" after the "?>" Since it said 'new last line in file' I made it the very last line :) Seems to work Thank you so much... Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
TCwho Posted December 1, 2004 Author Share Posted December 1, 2004 hmmm...I feel silly I need help changing my background color.... I tried to change it in the css stylesheet ..but I ended changing the entire background color....I only want to change the color of the sides of the site..now that the site is centered. On screens with higher resolution than 800x600 they will see the white sides..but I want it to match the color of the info box headers..... you can take a look here: Site I am working on Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2004 Share Posted December 1, 2004 Great! Always good to hear good news. -jared Link to comment Share on other sites More sharing options...
TCwho Posted December 1, 2004 Author Share Posted December 1, 2004 Great! Always good to hear good news. -jared I think we were both posting at the same time. But yes it is good habit for people being helped to post back results B) Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
TCwho Posted December 2, 2004 Author Share Posted December 2, 2004 Hmm I am having alot of trouble trying to add a backgroud/border color to the sides of my site. I have centered the site, leaving a section of white that people with anything higher than 800x600 will see. I am trying to accomplish something similar to this: I cant change the background without affecting the main body of the site... :unsure: ....I just want to be able to set the color around the site when someone has a higher screen resolution... thanks ... I hope the picture helps to show what I am trying to do. Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
TCwho Posted December 2, 2004 Author Share Posted December 2, 2004 When I first got hired to design the site, I showed the client a default installation with a free template from 7dana.... I have tried to look everyone to replicate that effect...but I am stumped.... Here is another shapshot which I hope helps: Many thanks :sweating: Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
Guest Posted December 2, 2004 Share Posted December 2, 2004 It looks nice! I'd remove the languages and currencies boxes, unless they're planning on using alternate languages/currencies. Have you looked at the CSS reference in the KB? There is nothing stopping you from making your own entries in the stylesheet and then using them as well . . . -jared Link to comment Share on other sites More sharing options...
TCwho Posted December 2, 2004 Author Share Posted December 2, 2004 :lol: :lol: :lol: I wish...that was a default installation with a free template from 7dana...... my site looks like this right.... I want to look like free template from 7dana.... with the colored borders..but I can figure it out...... Site Im Workin On Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
Guest Posted December 2, 2004 Share Posted December 2, 2004 I'm sure you can get it figured out. Have you tried changing the entire body background (for the whole document) to the background color you want? It seems like the main index.php page and the infoboxes would pick up a different background from the stylesheet. Maybe I'm missing something, but why aren't you using the free template as a base, then customizing *that*? -jared Link to comment Share on other sites More sharing options...
TCwho Posted December 2, 2004 Author Share Posted December 2, 2004 thats what I was gonna do.... I was wondering why I was making it hard on myself........ I think I needed to take a step back and breath. LOL B) Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.