New Theme

View: New views
2 Messages — Rating Filter:   Alert me  

New Theme

by omid p :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi ,
I'm trying to create a new theme by copying from existence theme like
brushedMetal
when i want to add new image e.g img01.jpg to css image does not load
1.i copy img01.jpg to images folder
2.edit css to url($url.resource("images/img01.jpg"))
am i missing something ?
i found images theme for brushedMetal add to theme.xml as resource
should i add my images to resource ?

Re: New Theme

by Dave-401 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, you must list all resources use by the theme in the theme.xml file.

- Dave


On Sat, Oct 3, 2009 at 12:54 PM, omid p <vermindimo@...> wrote:

> Hi ,
> I'm trying to create a new theme by copying from existence theme like
> brushedMetal
> when i want to add new image e.g img01.jpg to css image does not load
> 1.i copy img01.jpg to images folder
> 2.edit css to url($url.resource("images/img01.jpg"))
> am i missing something ?
> i found images theme for brushedMetal add to theme.xml as resource
> should i add my images to resource ?
>