R
R
Ruslan2018-07-13 20:54:41
1C-Bitrix
Ruslan, 2018-07-13 20:54:41

How to create a dynamic background in the header for each section of the site?

Hello, the task is to make it possible to edit the background for the header of any section of the site.
For the manager to add one picture today, change it to another tomorrow, etc. How to make it smarter and easier?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2018-07-13
@gromdron

There are a lot of options and it all depends on the specific task (I interpreted your task in 3 ways)
Offhand, you can do this:
1) Use the include area for the background (and other html content).
2) It is possible through the page properties
3) You can make a component with a parameter (file type) and change the code through deferred functions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question