0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Bubble】Googleフォントの利用方法

Posted at

はじめに

BubbleではテキストのフォントにGoogleフォントを利用することが可能です。本記事では、BubbleでGoogleフォントを導入する方法をまとめます。

Googleフォントの導入方法

以下にGoogleフォントをBubbleアプリに導入する方法を記載します。

前提

フォントが変わっていることを確認するために、以下のようなテキストを記載したページを作成しています。
Screenshot 2025-01-14 at 22.08.28.png

①利用したいフォントを決める

Googleフォントのサイトにアクセスして、アプリで利用するフォントを決めます。

本記事では、以下の「Kosugi Maru Static」を利用します。
Screenshot 2025-01-14 at 21.58.25.png

②フォントのコードを取得する

画面内の「<> Get Embeded code」をクリックし、遷移先の画面で「Embed code in the

of your html」のコードをコピーします。
Screenshot 2025-01-14 at 22.01.14.png
Screenshot 2025-01-14 at 22.02.23.png

③コピーしたコードをBubbleアプリのヘッダーにペーストする

editor画面の左のツールバーから[Setting]を開き、[SEO / metatags]タブを開きます。[SEO / metatags]タブ内下部の[Script/meta tags in header]に、②でコピーしたコードをペーストします。
Screenshot 2025-01-14 at 22.13.33.png

④デフォルトフォントにGoogleフォントを適用する

editor画面の左のツールバーから[Styles]を開き、[Style variables]タブを開きます。[Style variables]タブ上部にある[App Font - Applied to all elements using App Font as their font family in styles.]にて、①で選択したフォントを選びます。
※フォントの選択欄が複数ある場合は、その中でGoolgeフォントを適用したいもののみフォント選択を変更します
Screenshot 2025-01-20 at 21.20.25.png

完成イメージ

以上の操作を完了しeditor画面でテキストを確認すると、以下のようにフォントが変更されていることが分かります。(以下の画像では、操作前と比較して文字が丸みを帯びていることが分かります)
Screenshot 2025-01-20 at 21.29.02.png

終わりに

本記事に関して不明点やうまく設定できない箇所などありましたらコメントください。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?