• 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

Remove post format icon from pages

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 › Remove post format icon from pages

This topic is: not resolved

Tagged: Icons, Post Formats, post types

  • This topic has 3 replies, 2 voices, and was last updated 12 years, 11 months ago by theViatrix.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 4, 2013 at 9:01 am #39248
    theViatrix
    Member

    I've enabled post formats on my Metro theme site, but the icons are appearing on pages as well as posts (for example, my contact page shows the icon for the default post type). How can I make it so that the icons display only on posts, not pages?

    Also, I would like the icons to display in line with or beside post titles, rather than above them. Any help on changing that would also be appreciated.

    My website is http://www.theviatrix.com

    Thanks in advance!

    http://www.theviatrix.com/contact
    May 4, 2013 at 9:45 am #39256
    Jesse Petersen
    Member

    Hiding them is the easy part - in CSS, write this, preferably with the other image/post-type entries:

    
    .page-template-default .page img.post-format-image {
    
    display: none;
    
    }

    I'd have to fiddle with the other bit to get them inline, but it'd entail relative positioning, reducing the h1 and h2 .entry-title styles to < 100% width to make room and set the img.post-format-image width to 60px.


    One of the guys you would want to hang out with.
    Preferred StudioPress developer | owner of Petersen Media Group | author of The Golden Rule Way (still writing)

    May 5, 2013 at 7:22 am #39350
    theViatrix
    Member

    Thanks Jesse, that worked! I will fiddle with the positioning as per your suggestions and see what I can do with that as well.

    Thanks!

    May 5, 2013 at 4:35 pm #39458
    theViatrix
    Member

    Got it! Here is what I ended up doing:

    .entry-title,
    .entry-title a {
    display: inline;
    vertical-align: top;
    }

    BUT...

    I would prefer that the icon were moved left rather than cutting into the title (especially noticeable on two-line titles). If I try relative positioning -60px the icon is hidden. Any ideas?

    Here is an example: http://theviatrix.com/2011/09/tortilla-smackdown-part-4-tortilla-with-a-twist/

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