Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Adding an image behind the header


Reply

4 Posts   564 Views

Avatar
Lemonie

19 May 2012 at 3:24am Community Member, 70 Posts

I would like to add an image behind the header which is a slice image which repeats horizontally. I have tried various things in css but it isn't showing.

Can anybody help?

Avatar
haantje72

19 May 2012 at 6:51pm Community Member, 69 Posts

i first added an image slider in javascript hardcoded in your theme page.php.

Now i use the module maxskitter. It works great. you can handle your own slide on every page you like and if no slide added you can set an default image. Several choices of sliders and setting. Love this module.

The only thing i noticed is that it breaks the popup of the image gallery when set the slider. so in the image gallery i just not set an slider and just show the default image.

Avatar
Nobrainer Web

21 May 2012 at 7:48am Community Member, 135 Posts

Hi Lemonie,

There is no difference as to how your HTML and CSS in SilverStripe works compared to static HTML and CSS - besides that you need to add ?flush=1 to the end of your URL, to flush the SS cache (if you have made changes to templates).

Make sure you make your changes in the included files.

Avatar
Lemonie

21 May 2012 at 10:40am Community Member, 70 Posts

I'm sorry but I'm new to this .. which files do you mean

Make sure you make your changes in the included files.