• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to Change Font in CSS Only for Certain Sections?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to Change Font in CSS Only for Certain Sections?

This topic is: resolved

Tagged: Changes, css, font, headings

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 1 month ago by MM.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 7, 2013 at 11:39 am #71500
    MM
    Member

    Hi

    I'm trying to learn how to change font sizes on certain headings etc. For example, my H6 is specified as a certain size, but on the blog archive list page, I'd like it to be another size - but only on that page. Is there a CSS tutorial or quick tips on how to do this? No link as on localhost.

    Thanks!

    November 7, 2013 at 4:56 pm #71559
    Robin
    Member

    If you use Chrome while you're developing the site, you can right click on anything and inspect the element with Chrome's Developer Tools (or Firebug in Firefox). If you look at the top of the page's code, you can see the different classes applied to a page, and use that to target elements on that page. So, an h6 might be .archive h6 on the archive page, or .home h6 on the home page of the site.

    Good luck! HTH


    I do the best I can with what I’ve got. (say hey on twitter)

    December 7, 2013 at 8:19 am #77525
    MM
    Member

    Robin - thank you! That's perfect.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble