Tutorial Shares
  • Home
  • Tutorials
  • Categories
  • My Favorites
  • Terms of Use
  • WordPress
    • Theme Customizations
    • Security
    • Admin Dashboard
  • Magento
  • Code Snippets
  • Hosting
  • CSS
  • Dev Tools
  • Hosting
    • Hosting
    • Nginx
    • Ubuntu
    • Linux
  • Design
  • PHP

Remove Magento Theme Logo

Oct 9, 2024 by Christine Cardoso in Magento Loading 621

Learn how to remove the Magento logo that comes default with the blank Magento theme.

Go to app > design > frontend > package-name > theme-name >template > page > html and open header.phtml

Remove or comment out the following code snippet.

1
2
3
4
5
<?php if ($this->getIsHomePage()):?>
<h1 class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a></h1>
<?php else:?>
<a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a>
<?php endif?>

Share this:

  • Google
  • Twitter
  • Pinterest
  • Print
  • Email

Recent Posts

  • How to Recover Deleted Files in a Mac OS X Terminal | eHow
  • How do I discard unstaged changes in Git?
  • Yarn
  • How to install a Composer package from the command line
  • Regenerate Thumbnails

Community Favorites

  • Custom admin column for WP categories & taxonomies (1334)
  • Show All Categories and their Posts in Wordpress (1302)
  • Add color picker to wordpress admin metafield (1251)
  • Fix nav menu active classes for custom post types (1198)
  • Contact Form 7 + Bootstrap Example (1188)

Tags

301 Redirects archive.php background image bower Categories Category Archives composer Customize WP custom metaboxes custom meta fields Custom Page Template Custom Post Type Archives Custom Post Types date DevOps digital ocean frontend git GoDaddy Gulp linux commands load Magento 2 Nginx NPM Page Templates Pagination Password Protect Permalinks post query arguments Roots.io Roots Theme Sage server admin sysadmin Terminal Theme Customizations typography Ubuntu 14.04 usermod Wordpress Wordpress hacks Wordpress plugins WP Admin Dashboard WP Favorite Posts

© 2017 TutorialShares.com. Brought to you by Digimix, a WordPress Development Company.

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.