Shape 5

Joomla Templates => User Choice - August 2007 - Club => : webpartner September 20, 2007, 05:44:48 PM



: Need help with borders!
: webpartner September 20, 2007, 05:44:48 PM
Hi Mike...

I want to eliminate the border around main body content
and a few other areas...
I managed to do it at one point and it looked great...
Wide open just the way I like it...  However...

After making several other changes and not checking as I went...
I screwed something up so bad I gave up and started over...
I told you my css and php skills were rusty...

I deleted the entire User Choice template and uploaded a
fresh copy... Most of the changes I made were easy to reproduce but...
I can't remember how I turned off the borders...

This time I've even gone through the entire index.php and
template_css.css files and set every single border to "0"...
still got borders...

How can I turn off the borders???

Thanks
Bob


: Re: Need help with borders!
: mikek September 20, 2007, 07:20:27 PM
Bob,

It's in the light.css file. Look for:

#s5_mainbody {
border:1px solid #CDCDCD;
margin:13px auto 0px;
width:auto;
}

and replace with:

#s5_mainbody {
border:none;
margin:13px auto 0px;
width:auto;
}

Hope that helps!


: Re: Need help with borders!
: webpartner September 20, 2007, 08:12:15 PM
Michael... you da man...

I don't think that's the way I did it before
because I don't remember editing that file...

I should have realized that the styling would be
in the light.css file... duh...

It's my guess that the reason you're so good at
de-bugging & changes... is because you are the guy
that writes the templates for the company... right?

If so I think User Choice is by far your best work...
Just my humble opinion of course...

Thanks again for your help...
Bob


: Re: Need help with borders!
: mikek September 20, 2007, 08:19:16 PM
Bob,

Thanks! I'm not the only programmer here but I did write User Choice so, yes that makes it easy for me to find  :)

Regards,