2009-06-01, 04:36 AM
I am trying to figure out how to add css to global.css for all themes. I would rather add the css to the style sheet rather then inline. I also don't want to create my own css file because I don't want the page to have to make another request for a small css file. I am sure mybb has functions for this, but I am sure which ones to use and what the query should be to grab all themes global.css files.
I found the function insert_into_css($new_css, $selector="", $css="", $class_id=""), but I am not sure what $selector is used and what needs to be passed. The function is stored in admin/inc/functions_themes.php.
Anyone?
I found the function insert_into_css($new_css, $selector="", $css="", $class_id=""), but I am not sure what $selector is used and what needs to be passed. The function is stored in admin/inc/functions_themes.php.
Anyone?