Difference between revisions of "Modify Site Background Image or Colour"

From UnionCloud Support
Jump to: navigation, search
Line 6: Line 6:
 
<nowiki>
 
<nowiki>
  
<syntaxhighlight lang="javascript" line='line'>
 
 
$('.auto-stripe ul').jcarousel({
 
$('.auto-stripe ul').jcarousel({
 
scroll:1,
 
scroll:1,
Line 13: Line 12:
 
itemFallbackDimension: 300
 
itemFallbackDimension: 300
 
});
 
});
<syntaxhighlight>
+
 
 +
</nowiki>
 
</code>
 
</code>
</nowiki>
 

Revision as of 14:38, 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.

$('.auto-stripe ul').jcarousel({ scroll:1, wrap: 'last', auto:2, itemFallbackDimension: 300 });