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


    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.




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



    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.




    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.



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

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