• 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

Add span tag to menu links.

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 › Add span tag to menu links.

This topic is: not resolved

Tagged: font awesome, genesis sample, menu

  • This topic has 6 replies, 2 voices, and was last updated 10 years, 5 months ago by mairagall.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • July 30, 2015 at 2:22 pm #160977
    mairagall
    Member

    Hello, I need to add span tags to the primary sub menu titles, like this:

    <ul>
    <li><a class="fa fa-font-awesome-icon"><span>LINK TITLE</span></a></li>
    </ul>

    The reason is that I need to use a different font for the link title (and not Font Awesome), I can't use CSS classes because my client will be changing those links periodically.

    Thanks in advance.

    July 31, 2015 at 10:14 am #161072
    David Chu
    Participant

    Maira,
    That's a fun brainteaser. ๐Ÿ™‚ As a CSS geek, I usually I try to CSS-code my way around this type of thing with CSS3, fancy selectors, and such, but I can see you have tricky specs here.

    Instead, here's a fairly painless way to make that happen. ๐Ÿ™‚

    Enjoy, Dave


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

    July 31, 2015 at 10:36 am #161079
    mairagall
    Member

    It worked perfectly David, thank you so much for your help!

    July 31, 2015 at 3:24 pm #161099
    David Chu
    Participant

    Maira,
    You're welcome, glad to hear it!

    I'd be interested in seeing the results. ๐Ÿ™‚

    Dave


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

    July 31, 2015 at 3:48 pm #161101
    mairagall
    Member
    This reply has been marked as private.
    July 31, 2015 at 5:26 pm #161106
    David Chu
    Participant
    This reply has been marked as private.
    July 31, 2015 at 5:31 pm #161107
    mairagall
    Member

    Thanks David, I like how this design is turning out ๐Ÿ˜‰

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

© 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