WordPress.org

Ready to get started?Download WordPress

Forums

replacing tagline in picolight by picture (1 post)

  1. kristineooms
    Member
    Posted 1 year ago #

    I would like to change only the tagline in the picolight theme by a picture. In the forum i found the procedure below to change both title and tagline. Could you advise on how to change ONLY the tagline by a picture?
    Thanks in advance
    Remove the title and tag from the general settings of the site.

    Then, in the sryle.css under the editor of appearance, place this code between /*Begin Header*/ and /*End Header*/

    div.new-Header{margin: 0 auto; position: relative; z-index:0; width: 000px; height: 000px;} div.new-Header-logo{position: absolute; z-index:-1; top: 40; left: 0; width: 000px; height: 000px; background-image: url('images/file.ext'); background-repeat: no-repeat; background-position: center;}

    You must replace the 000's with the dimensions of the logo or larger numbers to keep the logo from being cropped. You must also replace file.ext with the file name and extension of the desired graphic and make sure the graphic is in the "/wp-content/themes/yourtheme/images" folder. If you want the logo on the left or right, replace center with left or right.

    Finally, use the editor under apperance to edit the header.php file. Add the following code to the end of the file unless you have an inline header menu which appears below the header, in which case, you must add this before the menu bar coding.

    <div class="new-Header"><div class="new-Header-logo"></div></div>

    Once both files have been modified and updated, as long as the desired logo is in the appropriate folder on the site, you will now have a graphic header with no Title or Tagline

Topic Closed

This topic has been closed to new replies.

About this Topic