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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Adding an image behind the header


Go to End


4 Posts   848 Views

Avatar
Lemonie

Community Member, 70 Posts

19 May 2012 at 3:24am

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

Community Member, 69 Posts

19 May 2012 at 6:51pm

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

Community Member, 138 Posts

21 May 2012 at 7:48am

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

Community Member, 70 Posts

21 May 2012 at 10:40am

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

Make sure you make your changes in the included files.