How to add background image in Landing Page | Community
Skip to main content
New Participant
July 20, 2016
Solved

How to add background image in Landing Page

  • July 20, 2016
  • 1 reply
  • 7210 views

I think this is probably simple but I cannot find the answer in any documentation or discusssions. I want to have an image fill the background of my landing page. I've tried to add the image url to the backgroundimage in the outerWrapDiv and the mktContent but the url value does not stay in the box. I'm trying to paste the url in the drop down mneu of the Template Elements within the Landing Page. What is the best way to do this? I want the image to retain the same aspect ratio but fill the browser screen.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SydneyMulligan

Are you formatting the URL correctly when you paste it into the box? You should use the background-image property like this:

background-image: url("paper.gif");

CSS background-image property

1 reply

SydneyMulligan
SydneyMulliganAccepted solution
New Participant
July 21, 2016

Are you formatting the URL correctly when you paste it into the box? You should use the background-image property like this:

background-image: url("paper.gif");

CSS background-image property

New Participant
July 22, 2016

That was it. Thanks so much.

I do have another question... I'm linking several landing pages and don't want a new one to open each time. What is the best way to do this?

SydneyMulligan
New Participant
July 22, 2016

Make sure that the "target" attribute in the <a> is not set to "_blank"

HTML link target Attribute

By default things should open in the same window, but if they're not you can set the target to "_self"