Azharkamar.com

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

Tutorials
25 Jan 2011
11 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
11 Comments Revolving around this Article
  1. rajmataj

    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.

  2. Dave

    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.

  3. speech

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

  4. PanTau

    Wow! What a cool article.

  5. Miller

    Man, finally i got this. Thanks for the share

  6. Manas

    Love your suggestion dude !
    It works !!!

  7. moldy

    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.

  8. M

    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 ;)

  9. Johnnie Koepsell

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

  10. Harriett Ensell

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

Write a Comment! NOW! :)