Another possibility would be to override views/default/page/elements/header.php. If you don't want anything from header.php displayed, you could override it with a modified version that is empty beside the initial <?php line.
If the modification seems to have no effect, you might need to flush the cache in the admin area. And it might be that some other plugin (theme) overrides the view(s), too. So, you would have to make sure that your plugin that contains the modified views is placed lower in the plugin list.
Back to the 90's? :)
I have not idea except to create a separate CSS file for it where you could overwrite the existing styles for @media queries.
Anyway, it's bad idea because mobile first
Use media queries and make responsive design of your theme.
E.g., Aalborg theme is a responsive elgg theme.
Extend the /view/default/theme/css in your theme with the media queries. Look at this css as an example and a start point for you.
Hello Again. Any idea where are these defined in the default setup?
class="elgg-menu elgg-menu-site elgg-menu-site-default clearfix"I only need to change them, but can't find their definition in navigation.css.php
Thank you
In first, look at this hook:
elgg_unregister_plugin_hook_handler('prepare', 'menu:site', '_elgg_site_menu_setup');
elgg_register_plugin_hook_handler('prepare', 'menu:site', 'my_site_menu_setup');In second, change CSS styles in:
views\default\elements\core.css.php
views\default\elements\navigation.css.php
Use AMD standart instead of elgg_register_js/elgg_load_js.
Read this example
Thank you Rvr. It works!. For the record, I just had to add:
elgg_define_js("responsiveslides", array(
"src" => "/mod/ccob/views/default/cssjs/responsiveslides.js",
));
in start.php init's function and
elgg_require_js('responsiveslides');
on the actual page. I hope it is useful for others too.
Thanks again. Regards,
Jacinto
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.