Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #19782

    I want to add a slogan to my web page , preferably on the Welcome page underneath where

    I have the logo. How do you do that?

    Web page is casual420.com.

    Thank you

    #105009

    Hi,

    You can edit header.php then find this code

    echo avia_logo();

    Replace it with this

    echo avia_logo();
    echo "<div id='slogan'>";
    echo bloginfo('description');
    echo "</div>";

    Now open your custom.css then add this code

    #slogan {
    position: absolute;
    z-index: 9999;
    bottom: 5px;
    left: 5px;
    }

    You can edit the slogan on Settings > General > Tagline.

    Regards,

    Ismael

    #105010

    Does anybody know how to add this to a child theme functions file, instead of editing the parent header file?

    #105011

    Hi!

    Try to copy the parent theme header.php into the child theme directory and modify this file. The child theme should load this file instead of the parent theme header.php.

    Regards,

    Peter

    #105012

    Thanks for your reply Peter Dude.

    I’ve found with other sites that I made (with other themes) I get a pretty big bunch of files that need comparisons when upgrades are made.

    I’m hoping to find a way within this framework to use function hooks and filters to inject only pieces of code.

    Since my experience is really only front-end the Codex is a bit gobbledygook to me, but I’ll search this forum a bit more for any examples.

    cheers

    Darryl

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Add a Slogan on Welcome page’ is closed to new replies.