WordPress.org

Forums

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

  1. KeonD
    Member
    Posted 1 year 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 1 year 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