Post-it and Course Overview Plus css issue

Post-it and Course Overview Plus css issue

by Gary Moncrieff -
Number of replies: 5

Hey all

Using the Course Overview Plus block with Post-it or any other theme based on the Ardvark theme, ie rocket there is a css conflict somewhere with this block. See pic  

The eye icons should be on the right hand side and only one showing, can anyone help me with this?

Thanks

Average of ratings: -
In reply to Gary Moncrieff

Re: Post-it and Course Overview Plus css issue

by Mary Evans -

Shades of Casablanca,  "...Here's looking at you kid!..."

In reply to Gary Moncrieff

Re: Post-it and Course Overview Plus css issue

by Mary Evans -

Hi,

Are you sure it only displays like this in the three themes you named?

Have you tried Standard theme?

I don't recall any CSS that would shift the eye icon from rightside to left side...but I could be wrong.

I will go and investigate...

In reply to Gary Moncrieff

Re: Post-it and Course Overview Plus css issue

by Mary Evans -

Hi Gary,

I get the same problem with the 'eye' icon being duplicated and on the wrong side. This is becasue there is a problem with the actual BLOCK. Try turning on Debugging in Site Administration > Development > Debugging and you will get this ERROR message...which points to the actual problem.

Strict standards: Creating default object from empty value in C:\wamp\www\moodle\blocks\course_overview_plus\block_course_overview_plus.php on line 25
Call Stack
#TimeMemoryFunctionLocation
1 0.0015 45042752 {main}egg ..\index.php:0
2 0.2601 67280520 core_renderer->headeregg ..\index.php:146
3 0.2602 67280568 moodle_page->set_stateegg ..\outputrenderers.php:707
4 0.2602 67280568 moodle_page->starting_outputegg ..\pagelib.php:844
5 0.2666 67305736 block_manager->create_all_block_instancesegg ..\pagelib.php:1385
6 0.2666 67306744 block_manager->ensure_instances_existegg ..\blocklib.php:902
7 0.2666 67306744 block_manager->create_block_instancesegg ..\blocklib.php:965
8 0.2666 67307240 block_instanceegg ..\blocklib.php:887
9 0.3421 78736072 block_base->_load_instanceegg ..\blocklib.php:1534
10 0.3421 78736072 block_course_overview_plus->specializationegg ..\moodleblock.class.php:423
In reply to Gary Moncrieff

Re: Post-it and Course Overview Plus css issue

by Mary Evans -

The CSS in style/postit_core.css is carried over from Aardvark and has 2 or three instances of h3.main in amongs the CSS in that file. If you delete the

h3.main and h3.main a

wherever you find them. The problem with the icons goes away!

There is still a problem with the block though.

Cheers

Mary