WordPress.org

Support

Support » How-To and Troubleshooting » How to add CSS to a WordPress blog post?

How to add CSS to a WordPress blog post?

  • 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;
    }

Viewing 1 replies (of 1 total)
  • esmi

    @esmi

    Forum Moderator

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

Viewing 1 replies (of 1 total)
  • The topic ‘How to add CSS to a WordPress blog post?’ is closed to new replies.