• 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

Drop cap and jQuery Pin it button CSS help

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 › Drop cap and jQuery Pin it button CSS help

This topic is: resolved
  • This topic has 5 replies, 2 voices, and was last updated 11 years, 1 month ago by Lauren @ OnceCoupled.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • May 20, 2015 at 9:11 am #152906
    littleleafash
    Member

    This is not related specifically to Genesis, so it's not allowed, I apologize! I did post on the plugin's support page but no response yet.

    You guys are smart, though, so I thought I'd try here to see if anyone has an idea what I should do!

    I am trying to figure out what selector to use for the p selector.

    When the plugin is disabled, this code renders a drop cap:

    .entry-content p:first-child::first-letter {
    

    However, when the plugin is enabled, it's gone. I've tried these:

    .entry-content.jpibfi_container p:first-child::first-letter {
    
    .jpibfi_container p:first-child::first-letter {
    

    But neither work. I love the custom image in this plugin and would love to be able to use it! Any recs for another great pin it plugin are welcome, since I seem to be striking out here.

    http://beta.skinnydip.ca
    May 20, 2015 at 9:50 am #152917
    Lauren @ OnceCoupled
    Member

    Can you turn the plugin on, so we can see the resulting HTML structure?

    Best,
    Lauren


    We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com

    May 22, 2015 at 9:13 am #153266
    littleleafash
    Member

    Hi Lauren!

    Oops. I was gone for a few days - I just activated it. If you could take a look, I'd be so grateful! 🙂

    May 22, 2015 at 10:44 am #153277
    Lauren @ OnceCoupled
    Member

    When that plugin is activated, the HTML structure changes from

    <div class="entry-content jpibfi_container" itemprop="text">
        <p></p>
    </div>

    to

    <div class="entry-content jpibfi_container" itemprop="text">
        <input class="jpibfi" type="hidden">
        <p></p>
    </div>

    Now that we have a new element before our first paragraph, we can't use first-child. Luckily, we have first-of-type which will work in this case!

    This will work: .entry-content p:first-of-type::first-letter

    Best,
    Lauren


    We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com

    May 22, 2015 at 11:15 am #153289
    littleleafash
    Member

    Well, you're my new best friend. THANK YOU so much. This worked like a charm!

    May 22, 2015 at 11:17 am #153290
    Lauren @ OnceCoupled
    Member

    Happy to help out a bestie! 😉


    We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Drop cap and jQuery Pin it button CSS help’ 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