Jump to content

[solved] Adding a line down side of the website


Recommended Posts

The file you need to modify is /global.css in the themes directory.

The exact code depends on the exact look you require - colour, line thickness etc. You *really* need to find out a bit more about css if you want to make these sorts of changes. I suggest you install the webdeveloper addon to Firefox.

Link to comment
Share on other sites

The file you need to modify is /global.css in the themes directory.

The exact code depends on the exact look you require - colour, line thickness etc. You *really* need to find out a bit more about css if you want to make these sorts of changes. I suggest you install the webdeveloper addon to Firefox.


Cheers for that radders, im onto it
Link to comment
Share on other sites

The file you need to modify is /global.css in the themes directory.

The exact code depends on the exact look you require - colour, line thickness etc. You *really* need to find out a bit more about css if you want to make these sorts of changes. I suggest you install the webdeveloper addon to Firefox.


Cheers for that radders, im onto it


ar8 radders I dont know if your subscribed to this thread but here goes........Ive figured a little bit out but cant seem to get it to work, heres the code what i entered into the global.css


.container {border-left:1px solid #cccccc;
border-right:1px solid #cccccc;}








dows that seem ok or do i need to add anything else ?
Link to comment
Share on other sites

Hello Andy,


on line 183 in global.css you have this

#page
{
  width: 980px;
  margin-top: 0pt;
  margin-right: auto;
  margin-bottom: 2px;
  margin-left: auto;
  text-align: left;
}



change it to this

#page
{
  width: 980px;
  margin-top: 0pt;
  margin-right: auto;
  margin-bottom: 2px;
  margin-left: auto;
  text-align: left;
  border-left: 1px solid #000000
  border-right: 1px solid #000000
}




Should do the trick

Link to comment
Share on other sites

Hello Andy,


on line 183 in global.css you have this

#page
{
  width: 980px;
  margin-top: 0pt;
  margin-right: auto;
  margin-bottom: 2px;
  margin-left: auto;
  text-align: left;
}



change it to this

#page
{
  width: 980px;
  margin-top: 0pt;
  margin-right: auto;
  margin-bottom: 2px;
  margin-left: auto;
  text-align: left;
  border-left: 1px solid #000000
  border-right: 1px solid #000000
}




Should do the trick



i added that but dont seem to do anything
Link to comment
Share on other sites

  • 4 months later...

2 Alpaca: No, they use another method on the site you gave: they use a shadow image.
Open your global.css, find #page bit and replace it with:

#page {
   width: 966px;
   margin: 0 auto 2px auto;
   text-align:left;
   padding: 0 5px;
   background: url('../img/bodyBg.png') repeat-y top left;
}


Then download the image and put it to your theme's img directory.
I'm not sure if it will work fine with IE6, because of it's broken box model, so test it first.

Link to comment
Share on other sites

Hi Eihwaz,

Thank you for the suggestion. I tried this but this isn't the effect I was trying to do. I have attached a screenshot to show you what I mean:


2 Alpaca: No, they use another method on the site you gave: they use a shadow image.
Open your global.css, find #page bit and replace it with:
#page {
   width: 966px;
   margin: 0 auto 2px auto;
   text-align:left;
   padding: 0 5px;
   background: url('../img/bodyBg.png') repeat-y top left;
}


Then download the image and put it to your theme's img directory.
I'm not sure if it will work fine with IE6, because of it's broken box model, so test it first.

17460_lTD369GU1cS8Ahah697m_t

Link to comment
Share on other sites

Try this then:
global.css
Line 16 or so, find body selector and replace with:

body {
   background: #9F8C63 url('../img/backgroundImage.gif') 0 0;
   font-size: 11px;
   font-family: Verdana, Arial, Helvetica, Sans-Serif;
   color: #5d717e;
   text-align:center;
}


Actually, you're only interested in the first line, you can leave the other attributes as they are, except for background-color — delete it.

Find #page selector and replace it with:

#page {
   width: 966px;
   margin: 0 auto 2px auto;
   text-align:left;
   padding: 0 8px;
   background: url('../img/bodyBg.png') repeat-y top left;
}


I still used shadow for #page selector, because without it the page doesn't look that well (In my opinion, that is).
Two files were used: the background and the shadow (the shadow file from the previous post will not work as it should with this version).
I've attached an image showing how it looks.

Note to self: Da Vinci sleep schedule doesn't work very well.

17461_t77siAJ3a3YN63ihki0A_t

Link to comment
Share on other sites

Hi, Alpaca,
Yes, there is a way: as we use an image to draw shadow (bodyBg.png) that has an opaque middle part (white) and semi-transparent shadows on the sides.
So you can just open that bodyBg.png in virtually any graphic editor (I'd recommend Gimp — it's free), duplicate that image and place it on top of itself: that will make shadows less transparent.
Or you can download another bodyBg.png image that I've already changed and see if it works for you.
Cheers! :)

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