WordPress.org

Ready to get started?Download WordPress

Forums

Simple Catch
How to replace web site title by image. (7 posts)

  1. Webinside
    Member
    Posted 1 year ago #

    Hello everybody,

    I just need to replace "Simple Catch. Just another wordpress theme" by an image.
    Actually I have one image uploaded as a logo and I need on more istead of title above.

    I know that I need to modify the code.

    Please tell me what exactly I need to do?

    Thanks

    http://wordpress.org/extend/themes/simple-catch/

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    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.

  3. Webinside
    Member
    Posted 1 year ago #

    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.

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    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>
  5. Webinside
    Member
    Posted 1 year ago #

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

  6. Webinside
    Member
    Posted 1 year ago #

    Thank you for help

  7. yorgo67
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic