WordPress.org

Ready to get started?Download WordPress

Forums

WP Post Styling
Change styling for all blog posts (2 posts)

  1. ttrumpeteric
    Member
    Posted 6 months ago #

    Thanks for the awesome plugin.

    I applied the following css to my "articles" page (my blog):
    .main-content{
    margin: 0 0 0 225px;
    }

    hoping that it would also apply to all my future blog posts. It didn't.

    Is there a way to apply this css to the blog template so I don't have to type it every time I post?

    I'd edit the main style guide, but don't want to change the layout of my homepage. (website: ericrmcclellan.com)

    http://wordpress.org/plugins/wp-post-styling/

  2. Joe Dolson
    Member
    Plugin Author

    Posted 6 months ago #

    In the settings, there's an option to "Pull Post Styles Directly from Library". If that's enabled, you can draw styles from the library, and edit them in the library. However, that's a new option in the latest version, so if you've been using it for a while, it wasn't there before.

    Although, your easiest option is probably just to add a class to your blog template such as "blog", then add the styles

    .blog .main-content {}

    ...to your main stylesheet.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.