• 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

Genesis Sample Child Theme – No Blog Posts Controls?

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 › Genesis Sample Child Theme – No Blog Posts Controls?

This topic is: not resolved
  • This topic has 2 replies, 2 voices, and was last updated 8 years, 5 months ago by abigailpage.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 23, 2014 at 1:35 pm #135195
    abigailpage
    Member

    I'm having a hard time finding a way to target blog elements on the aggregate blog page without also targeting the individual posts. Any ideas? My theme is based on the standard Genesis Child Theme.

    http://abigailpage.photography/blog/

    http://abigailpage.photography/blog/
    December 23, 2014 at 3:38 pm #135203
    anotherusername
    Participant

    Firstly, nice photography.

    When you say "target blog elements," which elements in particular are you trying to target?

    Usually there is a class assigned to the body element so that you can target things on a per page basis.

    for instance if you go to your weddings page and inspect the body element, you will see there is a .page-id-9 class tag

    But I don't see any distinctive class tag in the body element of the blog archive page.

    I am kind of surprised that there isn't one there. I am sure you could add a body class tag using filter hooks though.

    Hope this helps.

    December 30, 2014 at 12:49 pm #135683
    abigailpage
    Member

    Thanks! And yeah... no assigned class to the body element. Word of caution to anyone using the genesis sample theme and wanting to make it super versatile! I should have known but it's been a while since I built a wordpress site.

  • 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