<< Back
Message for this thread
Posted by Messages text
chambers tim

Noavatar
Total post : 5
> Profile
Written on : 01/12/2007 00:26 ( more than one month )
Object : Templates
I would like to change from a fluid width page to a centered fixed width page. I have tried to this the conventional way by setting both html and body to:

margin-left: auto;
margin-right: auto;

in the template/standard/style.css file.

It doesn't have any effect.

I have also looked for something to change in the index.php file, to no avail.

Can someone tell me where and how I should make this change?

Thank you.
 
Omid

Avatar
Total post : 343
> Profile
Written on : 01/12/2007 13:29 ( more than one month )
Object : Re: Templates

Hi

Which version you are using ?

By default some CSS parameters in docebo LMS would be found in CSS files related to Docebo core .

I hope you find your favorite CSS files easily ;)

 

 
chambers tim

Noavatar
Total post : 5
> Profile
Written on : 01/12/2007 14:07 ( more than one month )
Object : Re: Templates
Thank you for you suggestion, Omid020.

I had used the standard template in the Core and it gave me a 1024px width but it didn't work for centering. So I'm still stumped.
 
Erba Claudio

Avatar
Total post : 2688
> Profile
Written on : 01/12/2007 15:22 ( more than one month )
Object : Re: Templates
To se tup a fix width to CMS (or LMS) pages you have to edit the main style sheet located in:

doceboCms/templates/standard/style/style.css

or

doceboLms/templates/standard/style/style.css


and edit following lines that are assigned to the body {}

margin: 0 auto;
width: 800px;
Message modified by : claudio.erba on : 02/12/2007 14:22
Docebo CEO and Founder
www.docebo.com
 
chambers tim

Noavatar
Total post : 5
> Profile
Written on : 02/12/2007 13:57 ( more than one month )
Object : Re: Templates
Thanks Claudio,

I found the answer in the CMS template style.css. margin: 0 auto; was the way to go.

I'm experiencing another problem in Safari 3.0 only. I removed the left logo to put in my own header, but I get a blue box with a ? in it at the top of my page. It says it is looking for left_logo.png. I've removed all references to it from the header and css files, but it won't go away. Firefox has no problem with it.
 
Erba Claudio

Avatar
Total post : 2688
> Profile
Written on : 02/12/2007 14:23 ( more than one month )
Object : Re: Templates
Hi, I correct in english, wrong cut and paste.
Regarding safari issue I don't know ...
Docebo CEO and Founder
www.docebo.com
 
<< Back