Pages use same template but don't render the same
Permalink
http://www.macssteakhouse.co.nz
I have a simple site that uses the same template for all pages.
The header file contains the logo and navbar and is included for each page.
However, only the homepage appears to show the logo and the other pages it shows as missing.
Any ideas please?
I have a simple site that uses the same template for all pages.
The header file contains the logo and navbar and is included for each page.
However, only the homepage appears to show the logo and the other pages it shows as missing.
Any ideas please?
It looks like you have hard coded the path to your logo in your header template, however you didn't put in a full path so when the url reads /index.php/gift-voucher on your interior pages it's looking for the image in /index.php/images/logo.png
I would suggest that you use <img class="logo" src="<?php echo $this->getThemePath(); ?>/images/logo.png" /> in your header file so that you get the full path to your theme (assuming that the images folder that contains the logo.png is in your theme.
I would suggest that you use <img class="logo" src="<?php echo $this->getThemePath(); ?>/images/logo.png" /> in your header file so that you get the full path to your theme (assuming that the images folder that contains the logo.png is in your theme.
Therefor it will display on the home page (index.php) but not on others..