• Resolved SureAqua

    (@sureaqua)


    Hi,

    I would like to place my logo on the header where the current site name is. How can I do this with out loosing the site name.

    I have place this code in the title, but it repeats itself.

    }
    #top #site-title{
    background:url(https://personalsurvivor.com/wp-content/uploads/2014/04/PS-Logo-60.jpg);
    width:604px;/* logo width */
    height:60px;/* logo height */
    }

    In addition I would like to place the a couple of links in the title area, in particular, Twitter, YouTube and Gooogle+.

    Can you please advise

    thanks Robert

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author nobita

    (@nobita)

    You should create Child Theme

    Copy header.php from Raindrops to Child Theme

    and customize,

    from

    <?php
    /**
     * Conditional Switch html headding element
     *
     * example
     *  raindrops_site_title( " add some text" );
     *
     */
    		echo raindrops_site_title( );

    to

    <?php
    /**
     * Conditional Switch html headding element
     *
     * example
     *  raindrops_site_title( " add some text" );
     *
     */
    		echo raindrops_site_title( );
    ?>
    <a href="https://example.com"><img src="https://example.com/images/twitter.png" width="50" /></a>
    <!-- your html -->
    <?php

    The creation method of a Child Theme

    Child theme name:mysite

    Creation of – theme holder
    wp-content/themes/mysite
    Creation of – stylesheet

    style.css is created in the
    wp-content/themes/mysite/style.css
    The contents are as follows.
    Creation of a style sheet
    style.css

    /*
    Theme Name: mysite
    Author: Your name
    Author URI: https://yoursite.com
    Version: 0.1
    Template:raindrops
    */

    Usually, when making a child theme, it is explained that the style of a parent theme is imported as follows, but in rained Rops, it is unnecessary.
    the child theme is detected and it imports automatically.

    /* Raindrops No need import rules like below*/
    @import url('../twentyten/style.css');

    make file functions.php
    ver1.200 ~

    <?php
    
    add_action( 'switch_theme', 'puddle_uninstall' );
    
    function puddle_uninstall(){
    
        delete_option("raindrops_theme_settings");
    }
    ?>

    This description is intended to use in a child theme, and change settings of Raindrops, if you uninstall, delete the configuration changes of the parent theme.
    If you did not delete, you may be when you install the new Raindrops, correct, it is not displayed by default.

    Finish.

    Theme Author nobita

    (@nobita)

    Theme Author nobita

    (@nobita)

    Theme Author nobita

    (@nobita)

    It was after about two weeks, and then change the resolved because there is no answer, especially

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to place logo in the header as well as Twitter and Pintertest Google’ is closed to new replies.