Hi all,
I am not sure if this is entirely php or atm but since it requires abit of php i am guessing it is
my Question is i have a layout called mylayout in joomla and i want to have the images being displayed from that theme’s own folder not anywhere else now,
the images in the css are stating this background-image(‘images/image.jpg’);
what would i need to do make it so the images only have to be within in that theme’s image folder?
Can anyone help me here?
CSS Code
#nav
{
width:197px;
height:370px;
float:left;
background-image:url(../images/navbg.jpg);
background-repeat:repeat;
border-style:solid;
border-color:#000;
}
#name
{
background-image:url(../images/topbgprofile.gif);
background-repeat:no-repeat;
width:169px;
height:40pz;
}
Now in my html i have this for the css file
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/css/style.css" type="text/css" />
Does anyone have any ideas on how i can get the css file to look up the images in the theme’s images folder dyamically like the style sheet import method above,
Any Help above would be great,
Thanks,William