Forums

Different appearance for different post types? (3 posts)

  1. KDL
    Member
    Posted 2 years ago #

    I'd like to set up a blog with different appearances for different kinds of posts, but I'm not sure how, or if it's even possible. As an example, I'd like short posts to show up as if they were mailed postcards, some longer posts as if they were magazine articles, others like journal pages.

    How would I go about doing that? My first thought was to add a custom field and then do some CSS jiggery-pokery, but I'm not sure how to make the custom field give a property that CSS would recognize.

  2. Mercer2789
    Member
    Posted 2 years ago #

    Create the look of the custom posts on the style sheet. Wrap the posts while you make them by using the html editor instead of the visual editor by starting off the post with "div class="postcard" or whatever you created on the style sheet, then at the end of the post close the div.

  3. KDL
    Member
    Posted 2 years ago #

    Hmm... thanks. :) I tend to forget about the HTML editor.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.