WebsiteBaker Support (2.8.x) > Templates, Menus & Design

assign a different background to any page

(1/1)

gila:
Hi, i have to assign a different bakcground image in every page i want, the only way is to use a different template to every page? the pages are more than 100 !!!  :-o

there are a module, a snippet doing something?

thanks.

marathoner:
This has been addressed many times on the forum. Please do a search for this information. You might want to look into the randomimage snippet but only if the image is to be random.

gila:
i have serched with "background image" key before posts but there are no results and the image is not random.

 :|

marathoner:
Maybe something less specific would yield some useful information. For example, search "different image page" will locate several threads with info that you might want to read.

Just a quick thought, you could modify your template such that page_id=1 would display image1, page_id=2 would display image2, etc. Then have a default image that is displayed in the event that a specific image doesn't exist for a given page_id.

Navigation

[0] Message Index

Go to full version