• 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

Changing Fonts Inherited by Body Only in 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 › Changing Fonts Inherited by Body Only in Certain Sections

This topic is: resolved

Tagged: changing fonts, cta-button, minimum pro, widget title

  • This topic has 2 replies, 1 voice, and was last updated 12 years, 5 months ago by PrayersNApples.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 13, 2014 at 6:58 am #90117
    PrayersNApples
    Member

    I would like to change my widget title font (see: "resources" label on the sidebar at http://prayersandapples.com/blog/) and my a-cta button font (see "subscribe" button on homepage) but when I use Firebug it tells me that both fonts are inherited from the body, which I'm assuming is either this part:

    body {
    	background-color: #fff;
    	color: #333;
    	font-family: 'Roboto Slab', serif;
    	font-size: 16px;
    	font-weight: 300;
    	line-height: 1.625;
    }

    Or this part:

    /* Headings
    --------------------------------------------- */
    
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
    	color: #333;
    	font-family: 'Roboto Slab', serif;
     	font-weight: 400;
    	line-height: 1.2;
    	margin: 0 0 15px;
    }
    
    h1 {
    	font-size: 30px;
    }
    
    h2 {
    	font-size: 28px;
    }
    
    h3 {
    	font-size: 24px;
    }
    
    h4 {
    	font-size: 20px;
    }
    
    h5 {
    	font-size: 18px;
    }
    
    h6 {
    	font-size: 16px;
            font-family: 'Roboto Slab', serif;
    }

    My problem is, I want to keep the other headers/font the way they are. Is there a way to keep all of the other font the same, but change just the widget title and a-cta buttons (to 'Lobster Two')?

    This is the section for the widget title (I tried adding 'font-family: 'Lobster Two' but it didn't do anything):

    .widget-title {
    	font-size: 24px;
    	margin-bottom: 24px;
            text-align: center;
    	text-transform: lowercase;
    }

    And this is the section for the buttons:

    a.cta-button {
    	background-color: #368687;
    	border-radius: 5px;
    	color: #fff;
    	display: inline-block;
    	font-size: 18px;
    	font-weight: 300;
    	line-height: 1;
    	padding: 15px 20px;
    }

    Thanks so much!!

    http://www.prayersandapples.com
    February 14, 2014 at 6:54 am #90267
    PrayersNApples
    Member

    (I've currently changed all headers to the new font, Lobster Two, but am still hoping to figure out how to change some without changing the others.)

    February 15, 2014 at 9:34 am #90474
    PrayersNApples
    Member

    So sorry to bother everyone - but I've been experimenting with my css sheet and trying to search for answers online, but I still can't figure out how to change only specific sections of font, when they inherit their styling from the body. At this point, my main concern is changing the font color of my site description ("Database includes 400+ studies" in the tagline). It inherits its color, black, from the body text - and I don't want to change that. I just want to adjust the description to #368687 instead of #333. Any suggestions?

    Thanks so much - and again, I'm really sorry to bother everyone!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Changing Fonts Inherited by Body Only in Certain Sections’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 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