• 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 to insert a

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 to insert a

This topic is: not resolved

Tagged: span class

  • This topic has 5 replies, 3 voices, and was last updated 8 years, 10 months ago by Lauren @ OnceCoupled.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • May 10, 2014 at 8:39 am #104424
    bandj
    Member

    I saw a site that had a line under each menu element the and the html showed this under the
    <a href= etc... stuff

    <span class="line"></span

    How do you add that?

    Since it effects the nav on every page would it be added in functions.php?

    The site I saw this was http://gladeye.com/work

    May 10, 2014 at 3:23 pm #104472
    buddy_boy8403
    Member

    If you want to put some text under the title of each nav menu button, you can go to:

    Appearance > Menus > Screen Options (at the top right of the page) > Click the checkbox for 'Description'

    Then for each parent menu item, click the down arrow and write whatever you want in the description field. Save the menus and as long as your theme supports menu descriptions, it will appear.

    May 12, 2014 at 4:29 am #104621
    bandj
    Member

    It's not text. It looks like a span element added below the menu item and they give it a 2px top border. Then they can make it move.

    May 12, 2014 at 6:59 am #104633
    Lauren @ OnceCoupled
    Member

    He's saying you can put <span class="line"></span> within each text box, if you theme supports it. Then it's all about CSS.


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

    May 12, 2014 at 1:01 pm #104706
    bandj
    Member

    ok I get that.

    I put that in there but it doesn't save it. I'm using Parallax Pro.

    May 12, 2014 at 1:52 pm #104717
    Lauren @ OnceCoupled
    Member

    You can try this custom Walker:

    https://gist.github.com/gregrickaby/2888874

    Then you need to unhook your navigation and re-hook it calling the Walker.


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