Can´t set Navi Block width to 250px? (base theme) It desapears under the "region-conten"..

Can´t set Navi Block width to 250px? (base theme) It desapears under the "region-conten"..

by E Max -
Number of replies: 2

Hello, I have the "base" theme and I changing it.

But I Can´t set the Block width to more than 200px, because it disappears under the "region-conten"...

How can I fix it?

Thank you

best regards

Max

Attachment Navi under the Site.png
Average of ratings: -
In reply to E Max

Re: Can´t set Navi Block width to 250px? (base theme) It desapears under the "region-conten"..

by Mary Evans -

First of all NEVER change BASE theme as this contains the LAYOUT for ever Moodle theme.

Read: Development: Themes 2.0 how to clone a Moodle 2.0 theme

You can use BASE as your own theme, but following the instructions, you could follow the "Recipe for the Impatient" which is quicker, as my turtorial is a slow walk through the process, but it does explain why as well as how.

When you have done that. Then you should go read Matthew James Taylors blog about the Holy Grail No Quirks Mode 3 column pagelayout which Base theme is based upon. It explains how to change the widths of the layout.

HTH

Mary

In reply to Mary Evans

Re: Can´t set Navi Block width to 250px? (base theme) It desapears under the "region-conten"..

by E Max -

Thank you Mary smile

Yes at first I created my own Theme based on base theme, sorry I had to say it clearly.

The solution was this tag:

#page-content #region-pre  {
   max-width: 230px;
   min-width: 210px;
}

This is the region in Theme for the Side-bars, everything bigger than that will be hidden..

Best Regards

Max