Note: You are currently viewing documentation for Moodle 2.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Themes 2.0 How to use images within your theme.

Development talk:Themes 2.0 How to use images within your theme: Difference between revisions

From MoodleDocs
(New page: Just had a quick browse through this, I have not tested this but are there file extensions missing in the examples? e.g. - body {background-image:url(gradient);} shouldn't...)
 
No edit summary
Line 2: Line 2:


e.g. -  
e.g. -  
<code css>
body {background-image:url([[pix:theme|gradient]]);}
body {background-image:url([[pix:theme|gradient]]);}
</code>


shouldn't this read -
shouldn't this read -
<code css>
body {background-image:url([[pix:theme|gradient.png]]);}
body {background-image:url([[pix:theme|gradient.png]]);}
</code>

Revision as of 14:31, 10 June 2010

Just had a quick browse through this, I have not tested this but are there file extensions missing in the examples?

e.g. - body {background-image:url(gradient);}

shouldn't this read - body {background-image:url(gradient.png);}