WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

How to add CSS to a WordPress blog post? (2 posts)

  1. KeonD
    Member
    Posted 2 years ago #

    I have this code for one of my blog posts but every time I write the code in my post it just appears as normal text. Here's the code by the way:

    div {
    display: none;
    padding-top: 25px;
    }

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    That's CSS - not code. It needs to be added to your theme's CSS. Possibly via a custom CSS plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic