Removing CProds from the NavStrip

From No LJ Ads Wiki

Jump to: navigation, search
This article contains CSS meant to be used with the guide on User Stylesheets.


These techniques are for killing the CProd modules in the Navigation Strip. We also have a guide about Removing the NavStrip and one about Removing CProd Modules in other parts of the site.

Contents

[edit] Directions to install as part of an S2 style

Note: This won't kill the NavProds on styles other than your own, but will prevent them from appearing in your own journal and using ?style=mine, it should work.

If you have a S2 layout, you can view someone else's journal in your style when you add ?style=mine to the end of the URL -- for instance, http://community.livejournal.com/no_lj_ads/?style=mine.

Note that if you want everyone's comment pages to match your style, you simply have to enable the "View comment pages in your journal style" option on your Viewing Options page.

You can make the Nav Strip CProds disappear by adding the following CSS to your Custom Options:

  1. Go to Custom Options then go to "Custom CSS". Spot the box labeled "Custom stylesheet".
  2. Copy paste the following code into this box:
    /* Removes CProds from LJ's NavStrip. */
    
    div#lj_controlstrip_cprod
    {
      display: none !important;
    }
  3. Hit the "Save Changes" button, the CProds in the Nav Strip should disappear whenever you're using ?style=mine.

[edit] CSS for User Stylesheets

[edit] Premade Downloadable CSS Files

You can save these to where you need and rename them to the proper filename, or add their contents to your existing user stylesheet. Use the instructions given on the User Stylesheets page.

[edit] Strategies for Mozilla Firefox

[edit] CSS for userContent.css

Use the instructions on the User Stylesheets page to put this CSS in your userContent.css:

/* Removes CProds from LJ's NavStrip. */

@-moz-document domain("livejournal.com") {

div#lj_controlstrip_cprod
{
  display: none !important;
}

}

[edit] CSS for the Stylish Extension

We have a one-click installable version here, or you can use this CSS in a new style:

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("livejournal.com") {

div#lj_controlstrip_cprod
{
  display: none !important;
}

}

[edit] Greasemonkey Script

Install this script.

[edit] CSS for Other Browsers

Use the instructions on the User Stylesheets page to put this CSS in your user stylesheet:

/* Removes CProds from LJ's NavStrip. */

div#lj_controlstrip_cprod
{
  display: none !important;
}

[edit] Testing

It's hard to test the effectiveness of this guide because of the time-sensitivity of the prods, but our Plus tester account [info]plus_tester has the strip enabled for everybody so, if this works, you shouldn't see any.

Please be aware that if you have not hidden ads thanks to our Removing LiveJournal Ads guide, you will see some since [info]plus_tester is a Plus account.

[edit] Troubleshooting

  1. Make sure your cache has been cleared.
  2. All users, try to use our .css files instead of making yours.
  3. Firefox users, try to use alternative methods.
  4. Stylish users, try to use our file instead of making yours.

[edit] Feedback

Please let us know by commenting here or on this article's Discussion page if:

  1. These directions worked for you.
  2. If these directions did not work for you or don't make sense. We will try and help troubleshoot and then fix the instructions if needed.
  3. If the directions "worked" but something is going wrong.
  4. You're using a browser not included above; I'll try to find some instructions on the web, even if I won't be able to test them.

In all instances, let me know your setup: operating system, browser, browser version, etc.