• 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 add css style to text widget on FrontPage of Altitude Pro theme

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 add css style to text widget on FrontPage of Altitude Pro theme

This topic is: resolved
  • This topic has 5 replies, 2 voices, and was last updated 10 years, 4 months ago by nhed.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • July 27, 2015 at 3:43 pm #160630
    nhed
    Member

    I need to make some css style changes to the text widget on the FrontPage2. You can see the page here:

    http://www.join-ed.com

    With the help of Firebug, I have found the areas that need changing, but I haven't been able to figure out how to target just the widgets on the front page.

    I've studied and reread the article "How to Customize a Specific WordPress Widget" by Laura but to no avail. I need a bit more help with the following:

    1. How to determine the specific widget ID name and class name so I can target the elements and styles I need to change.

    2. An idea of what the css code would look like as well as where to insert the css code in my style.css stylesheet.

    Thanks for the help. All the very best,
    Ed

    http://www.join-ed.com
    July 27, 2015 at 8:07 pm #160658
    frobn
    Member

    The widget ID is #front-page-2 and the class is .front-page-2. You shouldn't need to change anything in ID.

    Insert your code at the end of styles.css

    .front-page-2 {
    /*css goes here */
    }

    Back up your file before making any changes.

    Hopes this helps.

    Frank

    July 28, 2015 at 12:54 am #160691
    nhed
    Member

    Hey Frank. Thanks. I'll post my results as soon as I try this later today. I super appreciate it.

    I really do. Thank you.

    All the best,

    Ed

    July 28, 2015 at 2:03 am #160696
    nhed
    Member

    OK. I added the following code to my style.css theme file:

    .front-page-2 {
    font-size: 24px;
    text-align: left;
    padding-bottom: 0px;
    padding-top: 0px;
    line-height: 1.2;
    }

    However nothing changed.

    When I make the change to this part of my css code found at line 1362 approximately, the font in the title of my article is changed from 30px to 24p but the changes are not limited to my FrontPage2 text widgets.

    Any suggestions?

    Thank you very much.
    Ed

    July 28, 2015 at 2:58 am #160698
    nhed
    Member

    Sorry, the image above is the wrong one. This is the correct image. My bad.

    July 31, 2015 at 3:13 am #161033
    nhed
    Member

    OK. After a lot of experimenting and searching, here's what I came up with. I'm sharing this in case it helps someone else.

    This tutorial was the key for me to figure out how to change the style of my widgets.

    And this is the code that I added just in case it's a help to someone:

    #text-38 h3 {
    	font-size: 32px;
    	font-weight: 500;
    }
    
    #featured-post-3 {
    	border: 0 solid #909090;
    	margin-bottom: 0;
    	padding-bottom: 0;
    	min-height: 490px;
    	max-height: 490px;
    }
    
    #featured-post-3 h2 {
    	font-size: 24px;
    	text-align: left;
    }
    
    #featured-post-3 p {
    	font-size: 20px;
    	text-align: left;
    	line-height: 1.2;
    	margin-bottom: 0;
    }
    
    #featured-post-3 .entry-header {
    	padding-top: 0;
    }

    OK. Over and out for now. Thanks for the help. And...

    All the very best.
    Ed

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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

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