essential Theme for moodle 2.8

essential Theme for moodle 2.8

by worawat wasanapreecha -
Number of replies: 16
How to adjust  all folder are overlap and all  not straight.


Thank you.

Attachment folder.png
Average of ratings: -
In reply to worawat wasanapreecha

Re: essential Theme for moodle 2.8

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
.category.loaded.essentialcats {
  min-height: 300px;
}

Browser development tools are your friend! Use them! smile

In reply to Gareth J Barnard

Re: essential Theme for moodle 2.8

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

To get them all equal you need to set a height, not a min-height, as all a min-height does is make them all higgledy-piggledy like they are.  As well as a set height you can set a width so as to limit the title. You can always add an ellipsis or other methods to truncate a string for very long titles using CSS. http://quirksmode.org/css/user-interface/textoverflow.html

In reply to Gareth J Barnard

ตอบ: Re: essential Theme for moodle 2.8

by worawat wasanapreecha -
What page edit?
In reply to worawat wasanapreecha

Re: ตอบ: Re: essential Theme for moodle 2.8

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Place the CSS in the custom CSS box setting for the theme.

In reply to Gareth J Barnard

ตอบ: Re: ตอบ: Re: essential Theme for moodle 2.8

by worawat wasanapreecha -

Subfolder not working.

Attachment subfolder.png
In reply to worawat wasanapreecha

Re: ตอบ: Re: ตอบ: Re: essential Theme for moodle 2.8

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Please use what you have already learnt from the answers and advice in the thread to apply to solving the sub-folder problem.

In reply to Gareth J Barnard

ตอบ: Re: ตอบ: Re: ตอบ: Re: essential Theme for moodle 2.8

by worawat wasanapreecha -

I'm put your code to CSS but sub-folder not working.

Attachment 2015-05-18_8-56-11.png
In reply to worawat wasanapreecha

Re: ตอบ: Re: ตอบ: Re: ตอบ: Re: essential Theme for moodle 2.8

by Just H -

That code targets categories, you need to add similar code that targets the subfolder layout I would think.

In reply to worawat wasanapreecha

Re: ตอบ: Re: ตอบ: Re: ตอบ: Re: essential Theme for moodle 2.8

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

That code targets the top level categories as per the original question which did not mention 'sub-folders' which are in fact 'sub-categories'.   As I've said "Please use what you have already learnt from the answers and advice in the thread to apply to solving the sub-folder problem.".

In reply to Gareth J Barnard

ตอบ: Re: ตอบ: Re: ตอบ: Re: ตอบ: Re: essential Theme for moodle 2.8

by worawat wasanapreecha -

Please kindly me how about setting .

In reply to worawat wasanapreecha

Re: ตอบ: Re: ตอบ: Re: ตอบ: Re: essential Theme for moodle 2.8

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

You could try...

.subcategories .category.loaded.essentialcats { min-height: 300px}

In reply to Mary Evans

ตอบ: Re: ตอบ: Re: ตอบ: Re: ตอบ: Re: essential Theme for moodle 2.8

by worawat wasanapreecha -

Thank. But not working.

In reply to worawat wasanapreecha

ตอบ: Re: ตอบ: Re: ตอบ: Re: ตอบ: Re: essential Theme for moodle 2.8

by worawat wasanapreecha -
Now not working with sub-folder.
Attachment 2015-05-26_15-12-19.png
In reply to worawat wasanapreecha

Re: ตอบ: Re: ตอบ: Re: ตอบ: Re: ตอบ: Re: essential Theme for moodle 2.8

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
.category.essentialcats {
    height: 300px;
}
In reply to Gareth J Barnard

ตอบ: Re: ตอบ: Re: ตอบ: Re: ตอบ: Re: ตอบ: Re: essential Theme for moodle 2.8

by worawat wasanapreecha -
It's working !

Thank you very much.