コンテンツへスキップ
Jetpack

個別の製品

セキュリティ
VaultPress Backup Scan Akismet Anti-spam
パフォーマンス
サイト検索 Boost VideoPress
成長
Stats ソーシャル ニュースレター SEO Blaze CRM
管理
Manage モバイルアプリ

製品バンドル

Pro WordPressサイト向けのセキュリティ、パフォーマンス、成長支援ツールです。 完了 より高いサービス上限を備えたJetpackの全機能。
料金
概要 Jetpack AI がサイトにできること スキル エージェントに WordPress のスーパーパワーを ドキュメント AI エージェントの接続と設定 はじめに ChatGPT、Claude、コーディングエージェントを接続 比較 Jetpack と他の WordPress MCP コネクタの比較

エージェントを接続しよう。無料です。

ChatGPT や Claude を接続して、サイトの運営を任せましょう。有料プランは不要です。

ChatGPT 版を入手 (新しいタブで開きます) または Claude を使う (新しいタブで開きます)
サポート チームによるガイドとサポート ドキュメント Jetpack の各機能の使い方ガイド 機能リクエスト Request features and vote on ideas ブログ ニュース、製品の最新情報、使い方ガイド
概要
ログイン 始める
セキュリティ
VaultPress Backup Scan Akismet Anti-spam
パフォーマンス
サイト検索 Boost VideoPress
成長
Stats ソーシャル ニュースレター SEO Blaze CRM
管理
Manage モバイルアプリ

製品バンドル

Pro 完了
料金
概要 Jetpack AI がサイトにできること スキル エージェントに WordPress のスーパーパワーを ドキュメント AI エージェントの接続と設定 はじめに ChatGPT、Claude、コーディングエージェントを接続 比較 Jetpack と他の WordPress MCP コネクタの比較

エージェントを接続しよう。無料です。

ChatGPT や Claude を接続して、サイトの運営を任せましょう。有料プランは不要です。

ChatGPT 版を入手 (新しいタブで開きます) または Claude を使う (新しいタブで開きます)
サポート チームによるガイドとサポート ドキュメント Jetpack の各機能の使い方ガイド 機能リクエスト Request features and vote on ideas ブログ ニュース、製品の最新情報、使い方ガイド
概要 検索
ログイン 始める

ブログ / Jetpack 101

Custom CSS: The Basics

Ryan C. のアバター

Ryan C. 3月 23, 2016 · 読了時間の目安: 4分


If you’ve ever tried to make changes to the appearance of your site, you’ve probably discovered that you can do so using CSS. In this article, we’ll give an overview of what CSS is, how Jetpack can help you get started with CSS customizations, and a few links to helpful resources to learn more.

Jetpack – Supercharge your WordPress

What is CSS?

In their simplest form, webpages are made up of HTML elements. CSS, an acronym for Cascading Stylesheets, is the language that determine how these HTML elements are displayed. CSS is used to determine things like fonts, background colors, text size and style, borders, and more.

To use an analogy, if your house was a webpage, HTML would be the structure and CSS would be the decoration. Like using paint to change the color of a wall, you can use CSS to change the color of links, hide elements, and a whole lot more!

How can I customize the CSS on a WordPress site?

Every WordPress theme includes a stylesheet file. This file includes the CSS styles that give that theme its look. There are a few ways that you can add Custom CSS to your site to modify that look:

  1. You can use a plugin like Jetpack and its Custom CSS feature to add your custom CSS.
  2. If you’re comfortable working with a little code, you can create a child theme to add CSS and custom functions. (https://codex.wordpress.org/Child_Themes)
  3. If you created your own theme, you can modify the style.css file directly. However, if you did not create the theme you’re using should never edit the theme directly. Otherwise, your changes will be overwritten any time there is a theme update.

CSS Basics.

Like any other language, there are specific rules to follow when writing CSS in order to be understood. No matter which method you choose to customize the CSS on your site, you’ll need to familiarize yourself with the syntax of CSS.

  • Selector: The element that we’re targeting. It can be an HTML tag, an ID, a class, or a combination of these.
  • Declaration block: One or more declarations, each separated by a semi-colon.
  • Declarations: Each declaration includes a property and a value separated by a colon.
  • Property: The attribute that we’re changing.
  • Value: The value we want to apply to the property.

If you haven’t worked with CSS before, that may sound a little overwhelming. Let’s take a look at an example to see if we can clarify what each piece is.

h1 { color: #000000; }

  • h1 is the selector. Thus, this will target all <h1> tags in your site.
  • color: #000000; is the declaration block.
  • color is the property.
  • #000000 is the value, which in this case is the hex code for the color black.

After breaking it down, we can see that this example will change the color of all h1 elements to black.

How can Jetpack help?

As mentioned above, Jetpack includes a feature called Custom CSS. This feature allows you to add new CSS rules to your site right from your Dashboard. You don’t need to go through the hassle of creating a child theme or worrying about editing your theme directly. This custom CSS can be added to your site in addition to your theme’s existing CSS rules, or it can completely replace your theme’s existing stylesheet.

You can get started by following these steps:

  1. Activate Custom CSS under Jetpack > Settings in your Dashboard.
  2. Navigate to Appearance > Edit CSS.
  3. Add your custom CSS rules to the large editor.
  4. Use the “Publish” meta box on the right hand side to preview and save your changes.

You can read more about each of the Editing Options in our Custom CSS support document.

Can I use a CSS preprocessor?

Over the last several years CSS preprocessors have become very popular. CSS preprocessors allow advanced users to take a more programmatic approach to CSS. They allow you to use variables, mixing, nesting, and a lot of other techniques to more efficiently write your CSS styles.

Jetpack allows you to use Sass or LESS if you’d like. You can do so by following these steps:

  1. Navigate to Appearance > Edit CSS.
  2. On the right hand side, find the “Preprocessor” option under Publish and click the “Edit” link.
  3. Select your preprocessor of choice (Sass or LESS) and save your changes.
  4. Begin writing Sass or LESS in the main CSS editing area.

Where can I learn more about CSS?

This is a high level overview of CSS and how to use Jetpack’s Custom CSS feature. It takes time to learn and get comfortable with CSS. Luckily, there are countless resources available, whether you are just learning the basics or trying to write more efficient CSS with a preprocessor.

  • A CSS Adventure is a great resource to learn more about the basics of CSS.
  • An Intro to CSS: Finding CSS Selectors helps you apply what you’ve learned about CSS to real examples.
  • The WordPress.org Themes and Templates forum is a great community where you can get help with questions about using CSS in WordPress and help with customizing your theme.

Is there a specific topic or feature of Jetpack that you’d like us to cover more in-depth in a future post? Let us know in the comments!

いいね 読み込み中…
  • #000000
Ryan C. のアバター

Written by

Ryan C.

Jetpack のメリットを見る

Jetpack が WordPress サイトの保護、速度向上、成長にどう役立つかをご覧ください。

プランを見る

Questions about this post? Ask in the support forum

シェア


Keep reading.

More from Jetpack 101, newest first.

すべての投稿を見る

Jetpack 101 3月 31, 2026

WordPress Image SEO: 12 Techniques to Rank Higher & Load Faster

Are images helping or hurt…

Jen Swisher のアバター Jen Swisher 読了時間の目安: 14分

Jetpack 101 3月 26, 2026

WordPress Site Redirecting to Spam? Here’s How to Fix a Hacked Site

Uncover hidden malware, re…

Jen Swisher のアバター Jen Swisher 読了時間の目安: 12分

Jetpack 101 3月 24, 2026

WordPress Form with File Upload: How to Create One in 3 Steps

How to create a secure fil…

Jen Swisher のアバター Jen Swisher 読了時間の目安: 5分

AI ファーストで WordPress サイトを運営しよう。

Free to start, and AI agents are free to connect. Money back within 14 days on yearly plans.

始める Jetpack を無料で入手

WordPress プラグイン

  • Akismet アンチスパム↗ (新しいタブで開きます)
  • Jetpack↗ (新しいタブで開きます)
  • Jetpack ブースト↗ (新しいタブで開きます)
  • Jetpack CRM↗ (新しいタブで開きます)
  • Jetpack プロテクト↗ (新しいタブで開きます)
  • Jetpack 検索↗ (新しいタブで開きます)
  • Jetpack ソーシャル↗ (新しいタブで開きます)
  • Jetpack VideoPress↗ (新しいタブで開きます)
  • VaultPress バックアップ↗ (新しいタブで開きます)
  • WP Super Cache↗ (新しいタブで開きます)
  • ダウンロード

AI

  • Jetpack AI
  • スキル
  • WordPress MCP

パートナー

  • パートナープログラム
  • おすすめのホスティング事業者
  • ホスティング事業者向け
  • 代理店向け
  • アフィリエイト向け

開発者

  • ドキュメント↗ (新しいタブで開きます)
  • ベータプログラム
  • GitHub の Jetpack↗ (新しいタブで開きます)

ヘルプ

  • ナレッジベース
  • フォーラム↗ (新しいタブで開きます)
  • レビューとお客様の声
  • お問い合わせ
  • Jetpack について
  • プレス
言語を選択 日本語
  • English
  • Deutsch
  • Español
  • Français
  • 日本語

© 2026 Automattic Inc. 無断転載を禁じます。

  • 利用規約↗ (新しいタブで開きます)
  • プライバシーポリシー↗ (新しいタブで開きます)
  • GDPR

によって心を込めて制作されています。

App Storeからダウンロード Google Playで入手
コメントを読み込み中…
  • リブログ
  • 定期購入 開始日
    Jetpack
    53,352人の購読者に加わりましょう

    WordPress.com のアカウントをお持ちですか ? 今すぐログインしてください。

  • Jetpack
    短縮リンクをコピーReader で投稿を表示
    購読管理登録ログイン
    このコンテンツを報告
    このバーを折りたたむ
%d