Remove logo from Wordpress theme via code

I would like to remove the theme logo from my template monster theme
here is the code:

					<div class="logo">					  <?php if(of_get_option('logo_type') == 'text_logo'){?>						<?php if( is_front_page() || is_home() || is_404() ) { ?>						  <h1><a href="<?php bloginfo('url'); ?>/" title="<?php bloginfo('description'); ?>"><?php bloginfo('name'); ?></a></h1>						<?php } else { ?>						  <h2><a href="<?php bloginfo('url'); ?>/" title="<?php bloginfo('description'); ?>"><?php bloginfo('name'); ?></a></h2>						<?php } ?>					  <?php } else { ?>						<?php if(of_get_option('logo_url') != ''){ ?>							<a href="<?php bloginfo('url'); ?>/" id="logo"><img src="<?php echo of_get_option('logo_url', "" ); ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('description'); ?>"></a>						<?php } else { ?>							<a href="<?php bloginfo('url'); ?>/" id="logo"><img src="<?php bloginfo('template_url'); ?>/images/logo.png" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('description'); ?>"></a>						<?php } ?>					  <?php }?>

How do I remove the logo without messing up the theme if I delete it all it mess up, I have my logo built into my background image, and the default logo is covering it up. The only options in theme options are text logo or image logo, I don’t want was as it’s already in the background.

Any help would be greatly appreciated

I don’t know how this will affect the rest of your page, because you haven’t provided the rest of the code, but have you tried hiding it using CSS? Add this to your stylesheet -

.logo { display: none; }

Do you mean the login page logo?

If it’s the theme’s logo, each theme/developer tends to do it slightly differently. You’ll likely have to alter the header.php file if you can’t disable or change it in the theme settings.

The theme would usually have an option to disable the logo. If that is not possible, remove the entire logo div from the header section (the code you have pasted in your query). If you would like to change the logo, in the themes folder > your theme > images you will find logo.png which you can change to the logo you want.

If you want to completely remove your logo div part also make necessary changes to the other code or you will have a blank section where the logo is displayed.