Azharkamar.com

How to Remove ‘Powered by Drupal’ in Drupal 7 – The Easiest Way

Tutorials
25 Jan 2011
16 comments

I searched online for ‘remove powered by drupal‘ and came across so many different ways to remove the text. Some aren’t well explained, some are quite tedious and some don’t even work at all.

So here’s my own version of how to remove that dreaded ‘Powered by Drupal‘ text (no offense to the Drupal folks out there) in the footer of Drupal 7. Note that this works only on Drupal 7; I have never used any previous versions of Drupal.

1 Line of Code to Remove ‘Powered by Drupal’

I believe this is the best and fastest way to remove that copyright text because it only requires the insertion of 1 line of code into the theme’s style.css file.

Locate your style.css file (/themes/your_theme/css) and insert this piece of code anywhere inside it, preferably under the Footer area.

#block-system-powered-by { display:none }

And that’s it!

Code Explanation

Well generally what it does is simply tell the DIV #block-system-powered-by not to display itself. The display:none CSS property is very useful in these kind of cases and I use it a lot because it’s simple and effective. The #block-system-powered-by CSS style isn’t defined in any stylesheets so you’ll have to create it.

OR

You can just go to your administration backend, Structure > Blocks, and set the Powered by Drupal region to None.

Done. LOL.

Please share if you have a better way of removing the ‘Powered by Drupal’ text.

Author - Azhar Kamar
16 Comments Revolving around this Article
  1. Monra says:

    This site is wonderful. Thanks

  2. mohammad says:

    Thanks dude worked charm.Thanks again

  3. Fascinating blog! Is your theme custom made or did you download
    it from somewhere? A design like yours with a few simple adjustements would really make my blog shine.
    Please let me know where you got your theme. Cheers

  4. Gamesh says:

    Can you please explain it how can we remove it pro programmatically?

  5. ed says:

    Worked like a charm!

    For the acquia_marina theme, I found the css here:
    drupal/sites/all/themes/acquia_marina/css/fusion-acquia-marina-style.css

    Thanks!

  6. rajmataj says:

    Right tool for the right job. Using CSS to hide things merely removes them from the screen but doesn’t actually remove any markup.

    This piece of code is simply a block and the *proper* way to remove this is simply disable the Block called ‘Powered by Drupal’. It’s that easy.

  7. Dave says:

    Only thing for me is that doing it in configuration removes the entire block. I rather keep the block visible with no Drupal (Powered by). But then if you want to add your own footer I’d imagine you’d have to modify the css. I use Drupal 7 with “Marinelli” theme.

    Or maybe someone know an easier way.

  8. speech says:

    Personally I’m sure that it should be great to use your recommendations about this removing!

  9. PanTau says:

    Wow! What a cool article.

  10. Miller says:

    Man, finally i got this. Thanks for the share

  11. Manas says:

    Love your suggestion dude !
    It works !!!

  12. moldy says:

    That is my personal third stop by to this website. Were establishing a whole new project in the identical area of interest as this web site. Your web site provided us with important information to utilize.

  13. M says:

    This block is optional and can be removed in the blocks administration page. No need for any CSS.



    Azhar Kamar replied:

    @M, yup, I got to know that a few hours after I wrote this article. LOL.

    Thanks anyway ;)

  14. I’ve lately started out a blog, the info you offer on this website has helped me tremendously. Thanks for all your time & work.

  15. Superb submit. I just like the way you expose your writing talent! Keep up good work.

Write a Comment! NOW! :)

Current ye@r *