Styles by pages

  • Author
  • #115290

    Good Morning. I wanted to know how do I modify styles with CSS just in the pages, without having changes in the post. Specifically this:

    .entry-content h3,.entry-content h3 a {
    background-color: #f9f9eb;
    color: #556B2F;
    font-size: 20px;
    font-family: “Le monde journal”;

    The blog I need help with is: (visible only to logged in users)

    Theme Author

    Hi, if you look at the source code, each page has a set of classes on the body tag specific to that page or post. Each page has a .page body class, so you can target just pages using, like this: .entry-content h3,.entry-content h3 a {
    font-size: 26px;
    Original poster

    Ok. Perfect. Thank you very much!

  • The topic ‘Styles by pages’ is closed to new replies.