WordPress.org

Ready to get started?Download WordPress

Forums

How to edit the front page? (4 posts)

  1. fredarn2
    Member
    Posted 8 years ago #

    Look here:
    http://golfsiden.net
    If i want to have a banner over at the top of the front page, right over the first article. How do i do that?
    What file should i edit to change the front page, to add a banner right over the first article???

    Thanks for answers...

    I use the BLIX design...

  2. petit
    Member
    Posted 8 years ago #

    Normally you would link in the image in the header.php file using an ordinary <img src="myheader.jpg"> html tag. If you look at the header.php file of the Kubrik theme, you'll see how.

    It is also possible to introduce a background image in the CSS stylesheet of your theme using the no-repeat rule.
    See: http://www.w3schools.com/css/pr_background.asp

  3. chennai
    Member
    Posted 8 years ago #

    edit the header.php found in the folder of the theme u are currently using

  4. Austin Matzko
    Member
    Posted 8 years ago #

    Perhaps you're asking how to make it appear only on the front page. In that case, you might wrap the markup for your banner in a PHP if statement that tests for WordPress's "is_home" conditional tag. See this article in the Codex for more information: http://codex.wordpress.org/Conditional_Tags#The_Main_Page

Topic Closed

This topic has been closed to new replies.

About this Topic