Backgrounds

Use the code I used, replacing the necessary bits. All you need to keep the same is the php, just change the tags around it.
 
cool beans... thought that might be the case.. thought I would ask first to make 100% sure :)
 
cheers dude :) will work on this today :) thanks again for all your help Harry :D
 
Awesome! Best thing there is that the markup is loads smaller, and you can add an infinite amount without ever needing to add an end class :D
 
Oh, is there any reason why you're using a transparent gif and then a background image for those? The image you;re using as a background should be the <img />
 
Still showing that the images you see are background, and the actual <img /> is a gif:

HTML:
<img style="background: url(http://www.mountainchefs.co.uk/inspiredgourmet/wp-content/themes/inspiredgourmet%20theme%20mk2/images/gourmetcourse.jpg) center no-repeat;" src="http://www.mountainchefs.co.uk/inspiredgourmet/wp-content/themes/inspiredgourmet theme mk2/images/100.gif" alt="FFI2" />

It should be:

HTML:
<img src="http://www.mountainchefs.co.uk/inspiredgourmet/wp-content/themes/inspiredgourmet%20theme%20mk2/images/gourmetcourse.jpg" alt="" />
 
hmmm I'll have to look into this... thats very odd.. its calling an image dynamically through Wordpress.. so I will have to see if there is a way around it :)

Thanks for your help though Harry :)
 
Change this:

HTML:
<img style="background: url(<?php echo get_option('foot_image_1'); ?>) center no-repeat;" src="<?php bloginfo('template_url'); ?>/images/100.gif" alt="FFI1" />

to:

HTML:
<img src="<?php echo get_option('foot_image_1'); ?>) alt="" />
 
tried that and it gave me a failed loaded image red cross ... I think that its must need the bloginfo(template_url) thing to work... :) I will look into this some more :D
 
Back
Top