Hey guys, you do know that people like me, who provide web development services, use your theme right?
And you do know that running an ad across the top of every screen in the WP-ADmin area is super irritating, right?
I’ve tried to block this ad using CSS but I haven’t found the magic combination yet.
This is what I have so far:
.td-admin-web-services .td-wp-admin-header .td-admin-web-services-txt .td-wp-admin-top {
display: none;
}
I’d prefer a dismiss option be built into the ad or better yet that the ad run once only upon install and then never seen again. I have enough competition as it is with devs in my home town! Now the theme I’m using with one of my clients is advertising to my client?
I don’t like this at all.
Kim
OK I found a way to block the ad, though I fear I am also blocking all admin header messages as well:
NOTE: Editing these files is DANGEROUS and can disable your website! Do so ONLY if you know CSS, HTML and general WordPress web development. You have been warned.
Normally instead of editing the CSS of the installed theme, you’d install a child theme, but TagDiv’s child theme doesn’t allow you to edit the wp-admin CSS… so you’ll need to edit the actual wp-admin.css file!
I also tried custom CSS but that is all front end facing and doesn’t affect the wp-admin section of your site. I probably could have found another
You should make sure you have a backup of this file handy. Either download copy your existing wp-admin.css file from your website or go to ThemeForrest and download a fresh copy of the theme which has the original file in it.
If anything goes wrong, make sure you have the ability to use FTP in some form to upload the unedited wp-admin.css file to your website.
OK – here’s how I blocked the ad:
In Appearance->Theme File Editor:
In the Theme Files: window, open up includes >
Then open up wp-booster >
Then open up wp-admin >
Then open up css >
Click on wp-admin.css
Now scroll down to line 380
Line 380 should show as display:flex;
Change the word flex to none so it now looks like this display:none
Scroll to the bottom of the page and click the Update File button.
I see no ill effects from this and I was able to restore the ad by changing the code from display: none; back to display: flex;
Until TagDiv sees the way to make this ad optional or dismissible, I guess I’m just going to block ALL of their admin area notifications and hope I don’t miss anything important!!
Kim
OK there is a problem with Woody Snippets and your header ad now.
If I run the above edit to your theme, I can no longer create new snippets in Woody Snippets.
If I change it BACK to showing, the new snippets drop down is INSIDE of your ad and is interacting with your code. So somehow either your ad or Woody Snippets isn’t respecting each other’s space.
Your non-dismissable ad is now breaking my website… so frustrating.
Kim