How to have different banner image for each page
-
Hi-
Disclaimer- I’m pretty php illiterate, so please bear with me and thanks in advance!!! ??
My website consists of 6 pages. I am using WP for the entire website. I’m using a template that I have modified in Photoshop. If you see the home page you will notice the picture of a dentist’s chair light.
I want to use that image for that page only.
https://www.dental-intelligence.com/wp-content/themes/theme953/images/banner.jpgAbout Page:
https://www.dental-intelligence.com/wp-content/themes/theme953/images/bannerAbout.jpgServices Page:
https://www.dental-intelligence.com/wp-content/themes/theme953/images/bannerServices.jpgTestimonials Page:
https://www.dental-intelligence.com/wp-content/themes/theme953/images/bannerTestimonials.jpgBlog Page:
https://www.dental-intelligence.com/wp-content/themes/theme953/images/bannerBlog.jpgContact Page:
Same as home page.—-
I think I’ve found the code the banner image is located, sidebar-1.php:<div class="banner"> <img alt="" src="<?php bloginfo('stylesheet_directory'); ?>/images/banner.jpg" /> </div>
—-
I don’t know if this is a PHP or CSS issue. Suggestions?
Thanks!
- The topic ‘How to have different banner image for each page’ is closed to new replies.