Jump to content

[Solved] need help on background PS.14


Recommended Posts

I wanted to add a background colour on my website,
but when I change my global.css > background-colour ; red
it turns out like this, please check attachment no. (1)
and I wanted them to be like in the attachment no.(2)

how I can make in such a way that the center part of website has its own background, that is white.
and the left and right side is an empty background so I can change the colour whenever I want.

44995_JqSvXV7olNELNmC8ND5m_t

44996_mgg8pxERuXr3FizCAOBY_t

Link to comment
Share on other sites

In global.css find #page (around line 206) and add the following:

background-color:#fff;

That should do it. Let me know if that works or not.

Marty Shue



I couldnt find that line, maybe we are using different PS version, mine 1.4
but I tried to find all "background-color" and change to #fff ( except the one for red background )
and I am still cannot create a white background page in center.
Link to comment
Share on other sites

now i figured out why I can find that line.

the default global.css in PS1.4

/* global layout */
#page {
   width: 980px;
   margin: 0 auto 2px auto;
   text-align: left



so i add the background line

/* global layout */
#page {
       background: white ;
   width: 980px;
   margin: 0 auto 2px auto;
   text-align: left



SOLVED

Link to comment
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
×
×
  • Create New...