• 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

How would you code a ribbon on the ends of the Primary Nav?

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 › How would you code a ribbon on the ends of the Primary Nav?

This topic is: resolved
  • This topic has 2 replies, 2 voices, and was last updated 13 years, 3 months ago by Susan Nelson.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 1, 2013 at 7:20 pm #48775
    Susan Nelson
    Participant

    Does anyone have an idea of how to code a ribbon on both ends of the primary nav?

    I would like to have the notched part be a separate image on both sides, but I'm not sure if there's a way to hook into anything to do it.

    Ideas? Thanks!

    July 5, 2013 at 3:00 pm #49406
    Dorian Speed
    Member

    I've done this, but it's been a while, so I may be misremembering and there's probably a more elegant solution.

    I think you just need to make that section wider than the rest of the .wrap area.
    Then create an image that's the whole navigation, including the corners, and make it the background.
    Then use some negative values for the margins to scoot things around where you want them to go.

    I did this on this site, but it was one of the very first sites I made so it might be a hacky way of doing things - and it's not mobile-responsive. Here's the relevant CSS:


    #nav {
    background: transparent;
    clear: both;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 200;
    height: 49px;
    margin: 0 0 0 -25px;
    padding: 0px 20px 0;
    text-transform: uppercase;
    width: 1010px;
    }

    #nav .wrap {
    background: url("images/nav.png") no-repeat scroll left bottom transparent;
    height: 49px;
    margin: 0 0 0 -10px;
    overflow: auto;
    width: 990px;
    }


    Bringing websites Up to Speed
    Firebug will light the way to understanding the secrets of the Internet!

    July 5, 2013 at 6:09 pm #49443
    Susan Nelson
    Participant

    Thanks, Dorian. 🙂 Yeah, that's pretty much what I ended up doing. I wanted to see if I could make it with 3 separate images, but in the end, 1 image makes more sense.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘How would you code a ribbon on the ends of the Primary Nav?’ 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