• I’m a (print) designer for a small magazine, and when our content goes on the web, they have us print designers copy the content and images from the print layout and make a new wordpress post out of it. (We don’t have a dedicated web team for this.) For larger features, we’d like to make the web post look similar to the way we designed the article for print. That generally means creating custom CSS styles for that page only.

    So, is there a way to add internal CSS for that page only (i.e., the page we’re creating when we make a new post)? Right now we’re just kind of making do with inline CSS and it’s a nightmare, and I don’t want to mess with the site-wide external style sheets (nor do I want to alter the site-wide styles, just the styles of one page at a time).

    Is internal CSS impossible or is it just super hidden somewhere? I’m not too familiar with WordPress. Thanks!

    Oh, it looks like the theme is called “InContext”…I don’t know if that’s a custom theme or what, or if adding Internal CSS would be a theme feature or a WordPress feature.

Viewing 1 replies (of 1 total)
  • Hello!

    I am not sure if I am understanding it right. Do you want a new stylesheet for every post?

    If I want to target 1 specific post, I would go the general style.css or maybe the custom CSS and then target the specific post like this:

    .postid-33 p {font-size:100px;}

    Now only on the post with the ID 33 has a big paragraph font size.

    Most WordPress websites have a diffrent ID for every post of page so if you put that first like my example, then you can add the different css styles to specific posts.

    Hope that helps a little?

Viewing 1 replies (of 1 total)

The topic ‘Adding Internal CSS to post?’ is closed to new replies.