WordPress.org

Support

Support » Themes and Templates » [Theme: Simple Catch] How to replace web site title by image.

[Theme: Simple Catch] How to replace web site title by image.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Andrew Nevins
    Forum moderator

    @anevins

    Please tell me what exactly I need to do?

    We need a link to your website or Pastebin.com of your HTML and CSS code.

    Webinside
    Member

    @webinside

    I changed nothing on my web site at the moment.

    So the link is:

    http://catchthemes.com/demo/simplecatch/

    I need to replace the web site title by image.

    Thank you.

    Andrew Nevins
    Forum moderator

    @anevins

    Look in header.php file,
    there will be this code

    <div class="logo-wrap"><h1 id="site-title"><a href="http://catchthemes.com/demo/simplecatch/" title="Simple Catch"><img src="http://catchthemes.com/demo/simplecatch/wp-content/themes/simple-catch/images/logo.png" alt="Simple Catch"><span>Simple Catch</span></a></h1><h2 id="site-description">Just another wordpress theme</h2></div>

    Replace it with

    <div class="logo-wrap"><a href="/" title=""><img src="directory/YourLogo.png" alt=""></a></div>

    Webinside
    Member

    @webinside

    It looks like this my header code, I can’t find exactly what you say.

    `<?php
    /**
    * The Header for our theme.
    *
    * Displays all of the <head> section
    *
    * @package WordPress
    * @subpackage Simple_Catch
    * @since Simple Catch 1.0
    */
    ?>
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
    <html xmlns=”http://www.w3.org/1999/xhtml” <?php language_attributes(); ?>>
    <head profile=”http://gmpg.org/xfn/11″>
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
    <title><?php wp_title(”); ?></title>

    <link rel=”stylesheet” type=”text/css” media=”all” href=”<?php bloginfo( ‘stylesheet_url’ ); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <?php
    /* Always have wp_head() just before the closing </head>
    * tag of your theme, or you will break many plugins, which
    * generally use this hook to add elements to <head> such
    * as styles, scripts, and meta tags.
    */
    wp_head();
    ?>
    </head>
    <body <?php body_class(); ?>>
    <div id=”header”>
    <div class=”top-bg”></div>
    <div class=”layout-978″>
    <?php
    // Funcition to show the header logo, site title and site description
    if ( function_exists( ‘simplecatch_headerdetails’ ) ) :
    simplecatch_headerdetails();
    endif;
    ?>

    <div class=”social-search”>
    <?php
    // simplecatch_headersocialnetworks displays social links given from theme option in header
    if ( function_exists( ‘simplecatch_headersocialnetworks’ ) ) :
    simplecatch_headersocialnetworks();
    endif;
    // get search form
    get_search_form();
    ?>
    </div><!– .social-search –>
    <div class=”row-end”></div>
    <div id=”mainmenu”>
    <?php wp_nav_menu( array( ‘theme_location’ => ‘primary’ ) ); ?>
    </div><!– #mainmenu–>
    <div class=”row-end”></div>
    <?php
    // This function passes the value of slider effect to js file
    if( function_exists( ‘simplecatch_pass_slider_value’ ) ) {
    simplecatch_pass_slider_value();
    }
    // Display slider in home page and breadcrumb in other pages
    if ( function_exists( ‘simplecatch_sliderbreadcrumb’ ) ) :
    simplecatch_sliderbreadcrumb();
    endif;
    ?>
    </div><!– .layout-978 –>
    </div><!– #header –>

    Webinside
    Member

    @webinside

    Thank you for help

    @andrew: I looked in header.php and I couldn’t find that bit of code. I don’t believe that it exists.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Theme: Simple Catch] How to replace web site title by image.’ is closed to new replies.