-
r-a-y posted on the forum topic Can I edit/disable adminbar.css?ver=3.0.1? (not adminbar.css) in the group How-To and Troubleshooting: 14 years ago
@zomex – You might want to try this in your theme’s functions.php:
remove_action( 'init', 'bp_core_add_admin_bar_css' );
if ( !is_admin() )
add_action( 'init', 'bp_core_add_admin_bar_css' );Untested, but give it a shot.
—
Actually, based on your report, it’s hard to give a definitive answer. What exactly is breaking in the admin…
-
hnla posted on the forum topic Can I edit/disable adminbar.css?ver=3.0.1? (not adminbar.css) in the group How-To and Troubleshooting: 14 years, 1 month ago
@zomex ignore the query string it’s a version string appended when the style sheet is added to the output of the page and is simply a method used to force refresh of browser cache , it’s appended to the file after the fact and no file actually exists physically with a query string, just edit the […]
-
r-a-y posted on the forum topic Can I edit/disable adminbar.css?ver=3.0.1? (not adminbar.css) in the group How-To and Troubleshooting: 14 years, 1 month ago
@zomex – If you’re trying to override the adminbar CSS on the subblog, create a file called:
/wp-content/themes/_YOURTHEME_/_inc/css/adminbar.css
And copy the styles from bp-default’s adminbar.css. Then you can customize the styles to your heart’s content.
@zomex
Active 8 years, 3 months ago