Difference between revisions of "Modify Site Background Image or Colour"
From UnionCloud Support
(Created page with "If you want to change the UnionCloud Background Image, or Background Colour, and you have access to Global CSS you can do either of these things using the following lines...") |
|||
Line 5: | Line 5: | ||
<code> | <code> | ||
<nowiki> | <nowiki> | ||
+ | <syntaxhighlight lang="javascript" line='line'> | ||
$('.auto-stripe ul').jcarousel({ | $('.auto-stripe ul').jcarousel({ | ||
scroll:1, | scroll:1, | ||
Line 11: | Line 12: | ||
itemFallbackDimension: 300 | itemFallbackDimension: 300 | ||
}); | }); | ||
+ | <syntaxhighlight> | ||
</nowiki> | </nowiki> | ||
</code> | </code> |
Revision as of 14:36, 29 March 2017
If you want to change the UnionCloud Background Image, or Background Colour, and you have access to Global CSS you can do either of these things using the following lines of code]]
To change the speed of the scroll simply change the 'auto:X,' line and replace the X with the number of seconds you want to delay the scroll, the example below uses 2 seconds.
<syntaxhighlight lang="javascript" line='line'> $('.auto-stripe ul').jcarousel({ scroll:1, wrap: 'last', auto:2, itemFallbackDimension: 300 }); <syntaxhighlight>