• 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

Custom Ordered List

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 › Custom Ordered List

This topic is: resolved

Tagged: lists

  • This topic has 6 replies, 2 voices, and was last updated 9 years ago by manavecplan.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • December 28, 2016 at 4:15 am #198314
    manavecplan
    Member

    hey,

    I'm using ordered lists in my posts that I'm trying to style in a particular listicle fashion i.e. I'd like the numbers in the ordered list to be styled the same way as the items themselves. I'd also like the list items to be H2 headers since they're pretty large sections in themselves.

    My post HTML is as under:

    <ol class="listicled">
    <li><h2>Meh 1</h2></li>
    <li><h2>Meh 2</h2></li>
    </ol>

    The CSS I'm using to try to style is below based on(SP Forum Link):

    /*--- Post Ordered List Styling ---*/
    .listicled ol li {
    	font-family: 'clarendon-urw';
    	font-size: 36px;
    	font-weight: 600;
    }
    
    .listicled h2 {
    	font-family: 'clarendon-urw';
    	font-size: 36px;
    	font-weight: 600;
    }

    However, the H2 tags are picking up the generic .entry-content styling for an H2 and the numbers aren't picking up any styling at all.
    Screenshot of current post

    What am I doing wrong here?

    December 28, 2016 at 7:41 am #198322
    Victor Font
    Moderator

    We need to see your source code in our browser. We can't tell you want's wrong from a screen shot. Please post a link to an example page.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    December 28, 2016 at 10:47 am #198359
    manavecplan
    Member

    Hey Victor,

    Fair point...

    Rolled up a dummy post below which has the same styling.

    Test

    December 28, 2016 at 7:53 pm #198397
    Victor Font
    Moderator

    All you need in your css is the listicled class.

    .listicled {
    	font-family: 'clarendon-urw';
    	font-size: 36px;
    	font-weight: 600;
    }

    If that doesn't work, use .entry-content .listicled


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    December 30, 2016 at 3:40 am #198482
    manavecplan
    Member

    Hey Victor,

    Tried both options but neither have worked out...

    Nothing seems to be hitting the numbers in the ordered list at all...

    December 30, 2016 at 9:30 am #198495
    Victor Font
    Moderator

    You may have to hold the shift key down when you refresh your page to force the style sheet to reload. I tested this in my browser inspection tool and the what I gave you works. Also, clear any caches you may have activated.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    January 4, 2017 at 5:29 am #198734
    manavecplan
    Member

    Hey Victor,

    Got around to testing it today...

    The styling worked just fine with the .entry-content .listicled selector.

    Thanks much for helping out! 🙂

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

© 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