Skip to main content

Changing a media file into .css

Comments

5 comments

  • Zendesk API User
    Author: neumann - 7/7/2017 15:05

    Hi Birol,

    if you click on the file in the media store, what does it say in the middle section under details -> data type? (see screenshot below)

    Media files do not have data types displayed in their display names or their reference names for that matter. But the data type is stored anyways. First spirit doesn't need to know whether it is a css file or not. You as a developer just have to reference it where you would typically reference a css file, for example when importing it in the html <head>

    I hope this answer was helpful.

    Emre

    0
  • Zendesk API User
    Author: Birol - 7/7/2017 15:23

    Hi Emre,

    It says nothing, it is just empty. The main.css file that i DragNDrop works just fine (here the file "main.css"), but the one I created in the SiteArchitect (here the file "custom") can't be used.

    1. Can’t really change the filetype (of the "custom"-file created in SiteArchitect)

    2. Neither is there an Tab where I could add CSS Code.

    How can I make it work so that I have a "Medium"-Tab as well, where I could add/edit code. E.g.:

    Cheers,

    Birol

    0
  • Zendesk API User
    Author: NMc - 7/17/2017 12:40

    Hi Birol

    Why don't you just upload a file? As you said it just works fine.

    You can create a new "file" in the SiteArchitect but that feature only creates a reference, which should

    link to a file. If there is no uploaded file, you can't modify it.

    I hope my answer can help you.

    Nico

    0
  • Zendesk API User
    Author: MichaelaReydt - 7/24/2017 13:48

    Hello Birol

    it seems to me as if you haven't selected a file when you created the new file via the SiteArchitect?

    In this case you could select a file afterwards:

    Best regards

    Michaela

    0
  • Zendesk API User
    Author: brueder - 8/1/2017 12:36

    Hello Briol,

    is this question still open, or already answered for you in a satisfying way? If so, please mark one of the answers as "correct".

    Best regards,

    Lena

    0

Please sign in to leave a comment.