1

I created a Cloudpage and reference an external CSS file, everything is looking fine when opening the URL.

However, within the MC Landingpage editor the css file doesn't seem to get loaded, so the whole html is unstyled. Is there a way to get it loaded within the editor?

1
  • 2
    This would occur if you are using mixed content. For example, the CloudPage uses HTTPS but your external CSS file or an image URL within it is HTTP. Is the case for you? Commented Jul 22, 2017 at 20:51

1 Answer 1

1

For landing pages best practice is to import your CSS as content. External CSS works fine for email but glitchy on landing pages.

To get the link for your uploaded CSS file, navigate to your content portfolio, select it. On the far right there is a downwards facing arrow click on it and select properties. URL will be beneath description.

8
  • Can you explain that bit more detailed, how to exactly do it? When uploading it internally will it be rendered within the editor?
    – Michael H
    Commented Jul 21, 2017 at 18:08
  • Will do when I get to a desktop:)
    – 0xsegfault
    Commented Jul 21, 2017 at 18:14
  • I'm asking to use the css in landingpages. I'm able to upload the css files within content builder, but not able to get a url to the file. Normally when uploading images to content builder you get the url by clicking on the file. How do I get the URL for css files?
    – Michael H
    Commented Jul 23, 2017 at 15:21
  • updated my answer @MichaelH
    – 0xsegfault
    Commented Jul 23, 2017 at 15:32
  • Unfortunetly there is no URL. See screenshot: i.sstatic.net/q8EaG.png
    – Michael H
    Commented Jul 23, 2017 at 15:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .