Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2017-04-24 08:39:38

kitobulit
New Member
Registered: 2017-04-24
Posts: 1

Custom CSS from Scratch

So I made a duplicate of the default CSS as a backup within the cms itself.

Then I wiped the original copy and typed my own in it. I began by putting the following:

@import url('https://fonts.googleapis.com/css?family=Ubuntu');
body{
font-family: Ubuntu;
}

The page formatting went “raw” but of course I was expecting at least the fonts will change but not even the fonts were changed.

What did I do wrong?

Last edited by kitobulit (2017-04-24 08:40:58)

Offline

#2 2017-04-24 08:55:52

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Custom CSS from Scratch

<html>
<head>
    <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu">

Documentation

Offline

Board footer

Powered by FluxBB