Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fixed Width For Entire Site


TCwho

Recommended Posts

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

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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:

help1.jpg

 

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.

Link to comment
Share on other sites

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:

help2.jpg

 

Many thanks :sweating:

Link to comment
Share on other sites

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

: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

Link to comment
Share on other sites

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...