how can i handle the images shown on the front end from the admin , not giving in the background in the css file.
|
1 posts
|
we generally give background image in the css file of the specific div and the image gets shown on the front end but i want the something like custom css means the user gives the image from admin and the image is shown on the front end in the header , side bar whereever i need. any help would be appreciated a lot. |
|
184 posts
|
Are you using inline css to assign a background image to your div? or external css? either way, there are lots of ways to do this, each with their own pros and cons. For example, I use background images alot (on a per-page basis) so firstly I know I would need to create an image for each page and thus would name them according to a corresponding Frog page slug, then in Frog I would assign a unique id to each page to then correspond with id’s in an external css file that would be assigned a unique background image. Personally, I think you need to know who would be providing/naming the images and who would be uploading them and how, first. Then employ a system that suits best. |