• 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

CSS Ribbon 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 › CSS Ribbon help

This topic is: not resolved
  • This topic has 2 replies, 2 voices, and was last updated 12 years ago by Jenny.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 29, 2013 at 10:54 am #48373
    Jenny
    Member

    I am following the tutorial on this page: http://www.sitepoint.com/pure-css3-ribbons/

    and this is the result I am getting: http://so-very.me/test

    here is the code in my css~

    #content .post h2.entry-title a {
    width: 80%;
    position:relative;
    font-size: 24pt;
    font-weight: 300;
    padding: 6px 20px 6px 70px;
    margin: 30px 10px 10px -70px;
    color: #FFF;
    background-color: #d7d1bd;
    }
    
    #content .post h2.entry-title a:after {
    	content: " ";
    	width: 0;
    	height: 0;
    	left: 0px;
    	top: 100%;
    	position:absolute;
    	border-width: 5px 10px;
    	border-style: solid;
    	border-color: #666 #666 transparent transparent;
    }
    
    #content .post h2.entry-title a:before {
    	content: " ";
    	width: 30px;
    	height: 0;
    	left: -30px;
    	top: 12px;
    	position:absolute;
    	border-width: 20px 10px;
    	border-style: solid;
    	border-color: #999 #999 #999 transparent;
    }

    I have NO Idea where I am going wrong or if it's the parent theme causing it or how to fix it... any tips? or hacks? or corrections? ๐Ÿ˜›

    June 29, 2013 at 12:04 pm #48379
    David Chu
    Participant

    Hi,
    That's a cute idea. You know what? It's actually working, it's just invisible. At first I thought it was because you were styling the link instead of the H2, but it's fine, it just needs to be shoved a bit.

    To see your results, try sticking this pinch of CSS in your stylesheet:

    h2.entry-title {
      padding-left: 100px;
      padding-bottom: 30px;
    }
    

    Obviously you'll want to play with spacing and other bits of style, but you're almost there.

    I also got your thing to appear by taking "overflow: hidden" off on #inner. But that messes up some other stuff. The Genesis uses of "overflow: hidden" on various HTML bits is quite challenging at times. ๐Ÿ™‚ Your scenario here is tricky because you're trying to style something inside #content and the outer wrapper has its own ideas.

    Cheers, Dave


    Dave Chu ยท Custom WordPress Developer – likes collaborating with Designers

    June 29, 2013 at 1:42 pm #48386
    Jenny
    Member

    Nope didn't work. I did see it when it got moved over but... once I played with it a little it kinda disappeared again xD I guess it's just not meant to be? ๐Ÿ˜›

  • 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

© 2025 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