allc-based theme (v.2.2)

allc-based theme (v.2.2)

by sue sugizaki -
Number of replies: 4

http://demomoodle.funorr.se/fugo/

This school (one of our branched) has a problem on the frontpage.

The web person added things. I discovered that a scollbar shows up at the bottom (I'm not responsible for the theme development at this school, but a help).

This allc-based theme has Custom CSS box I added.

So I added width: 120%; as a bandaid treatment.

 

<div class="no-overflow">

.no-overflow {
    overflowauto;
    padding-bottom1px;
    width: 120%;
}
 
Q: was it wrong?
 
The web person removed this and the problem returned.

 

Average of ratings: -
In reply to sue sugizaki

Re: allc-based theme (v.2.2)

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

YES!!!

The problem with .no-overflow is that it is used throughout Moodle in different situations, so unless you style it specifically for a certain type of page, like report, or for an element within a given page, then this will add scroll bars all over the place.

The only place I can recall adding that is for .pagelayout-report.

Hope this helps?

In reply to Mary Evans

Re: allc-based theme (v.2.2)

by sue sugizaki -

OK. i got it.

since i'm not responsible for this site, i really don't know if the wrong code i've added has affected other pages (nobody's told me so far). there are heaps of problems w/ the allc-based themes... i'm a bit sick. they've meddled w/ the theme too much before they started contacting me. or should i see it as a challenge???

so another challenging task?

In reply to sue sugizaki

Re: allc-based theme (v.2.2)

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

If the changes are in general.php and fronpage.php I would check them for errors.

If they are CSS only changes I would check this in W3C Validator http://jigsaw.w3.org/css-validator/

I usually look for PARSE errors. However, some things will not validate like background-image: url( [ [ pix:theme|image ] ]); as it sees it as an Error or -moz or -web-kit as these are suposed to be dropped now, as they are browser specific.

But on the whole it will  pick up bad syntax or missing { } or : or ; in the CSS

HTH

Mary

In reply to Mary Evans

Re: allc-based theme (v.2.2)

by sue sugizaki -

http://jigsaw.w3.org/css-validator/

wow, you can find anything online these days, amazing. thank you for your info.

in this case, they (i don't know exactly how many, because non-staff seem to be involved as well) have meddled many files as far as i checked the updated dates and compared w/ the original allc files...