• 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

Insert icon right after last paragraph on every blogpost

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 › Insert icon right after last paragraph on every blogpost

This topic is: not resolved

Tagged: After Entry, icon

  • This topic has 1 reply, 2 voices, and was last updated 7 years, 10 months ago by CleanPageDom.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • May 6, 2015 at 12:45 pm #150408
    Torben Heikel Vinther
    Member

    Hi,

    I would like to insert a grey 12x12 px square right after the last paragraph on every blogposts on the same line as the last word. See how it should look like in this screenshot.

    I have tried with a hook box at genesis_after_entry_content with this content:
    <i class="fa fa-stop"></i>
    But I can't figure how to style it, so it is positioned right after the last word, instead of on a new line.

    Maybe a basic question, but I need some help!

    Thanks


    Torben Heikel Vinther, Owner and WordPress Consultant at Webfronten.
    I develop and maintain WP websites • Find me on Twitter

    May 7, 2015 at 4:54 am #150556
    CleanPageDom
    Participant

    Hi there

    Try adding this to style.css

    .site-inner .entry-content > p:last-of-type::after {
    	content: " \25A0";
    	font-size: 12px;
    	color: #999;
    	line-height: 0;
    }

    But check, as it was adding the character to one of your sidebar elements also, so you may need to get more specific with the CSS. Should get you started though.

    Thanks
    Dom


    Let’s build a website together…

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