fredarn2
Member
Posted 7 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...
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
chennai
Member
Posted 7 years ago #
edit the header.php found in the folder of the theme u are currently using
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