WordPress.org

Ready to get started?Download WordPress

Forums

Travelify
Loading logo to Site Title (4 posts)

  1. Cherylm2000
    Member
    Posted 10 months ago #

    How can I add my logo to the right side of the Site Title.

    My site is neeskincare.com

    Thanks
    Cheryl

  2. SomewhatRounded
    Member
    Posted 10 months ago #

    Hey Cheryl,

    The theme only has an option to display a logo OR the text; the easiest way to work around that (if you want the logo as well as your site title/tagline) would be to just add the text into your logo image.

    You can add a logo in the theme options (Appearance > Theme Options > Header Options).

    Hopefully that helps!

  3. Jesin A
    Member
    Posted 10 months ago #

    It is possible if you create a Child Theme.

    After creating one create a functions.php file inside wp-content/themes/travelify-child/ and place the following code.

    <?php
    function my_logo() {
    echo '<img id="mylogo" src="<your link to a logo>" alt="Nee Skin Care" />';
    }
    add_action('travelify_header','my_logo');

    Then use CSS in wp-content/themes/travelify-child/style.css to style this logo.

    #mylogo {
    float: right;
    }

    This will move the logo to the right. Use the margin: property to properly align it.

    If you are a good coder instead of having a static image URL in the code you can create an additional field for it in the admin panel.

    Anything is possible with WordPress!!!

  4. SomewhatRounded
    Member
    Posted 10 months ago #

    I was going for simplicity, but Jesin's answer is technically better if you still want your site title to be text (rather than an image) and especially if you'll be making a lot of changes to the styling/default functionality of the theme (the stuff that can't easily be modified in your theme/site's settings)

Reply

You must log in to post.

About this Theme

About this Topic