In that case then Elegance as it is, is not compatible with Moodle3.1 yet.
There is a problem which I have just discovered when installing Elegance on my Moodle 3.1 test server.
object' class has been deprecated, please use stdClass instead.line 71 of \lib\setuplib.php: call to debugging()
- line 401 of \theme\elegance\renderers\elegance_renderer.php: call to object->__construct()
- line 401 of \theme\elegance\renderers\elegance_renderer.php: call to object->__construct()
- line 88 of \theme\elegance\layout\default.php: call to theme_elegance_widgets_renderer->navbar()
- line 1028 of \lib\outputrenderers.php: call to include()
- line 958 of \lib\outputrenderers.php: call to core_renderer->render_page_layout()
- line 69 of \theme\index.php: call to core_renderer->header()
Which makes it pretty much unstable. So the problems you have are more than likely caused by the version of Elegance that you are using.
Mary