Changing template icon to represent viewing page
Posted: Thu Mar 01, 2007 12:31 am
Hi,
Can any one let me know an easy way to change a css class within a template without making multiple templates. What I am trying to achieve is to change an icon to represent the page you are viewing.
In the template I am calling:
crappy quote!
and my css looks like this
#banner .home { background: url(../uploads/images/ico_m_house.jpg) no-repeat }
#banner .about { background: url(../uploads/images/ico_m_people.jpg) no-repeat }
#banner .contact { background: url(../uploads/images/ico_m_paper.jpg) no-repeat }
Mind is at a bit of a blank at the moment.
Thanks
Can any one let me know an easy way to change a css class within a template without making multiple templates. What I am trying to achieve is to change an icon to represent the page you are viewing.
In the template I am calling:
crappy quote!
and my css looks like this
#banner .home { background: url(../uploads/images/ico_m_house.jpg) no-repeat }
#banner .about { background: url(../uploads/images/ico_m_people.jpg) no-repeat }
#banner .contact { background: url(../uploads/images/ico_m_paper.jpg) no-repeat }
Mind is at a bit of a blank at the moment.
Thanks