-
-
Hello,
I tried searching the forum but couldn’t find my answer.
I’m trying to add a background image for a single page of mine. I can only find a way to change the background color in “Page Option & Style”.
How do I make it a background image? When I change the background image of just a “row” it gets cut-off at the end of the row, so I need to find a way to do it to the whole page.
-
-
Hello,
It is not possible to add an image to page background using theme options.You have to set it up via css. Please add this code into your custom cs box:
#content { background-repeat:no-repeat; background-size:cover; background-attachment:fixed; background-position:center top; background-image:url('https://codeless.co/tower/default/wp-content/uploads/2015/05/black-white-compressed.jpg'); }
Edit image url, to the one you will use.
Best regards!
-
Thank you very much. Your support is always amazing. Will rate you 5 stats on Envato.
How can I set a background image for a individual page vs the whole website?
How can I target a specific page in the css code. I don’t see a page I.D
-
BTW, I’m not getting notified of a forum responce ( reply ). I have the “Notify me of follow-up replies via Email” checked.
-
Hello,
To target just one page, go to that page’s options > custom css(screenshot) and add the code above above (screenshot). It will affect only that page.
Thank you very much for the consideration and your rating.
The follow-ups is currently not available. We are working on it. Thank you for the patience.Best regards!
-
-
You must be logged in to reply to this topic.