• 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 add social icons in the main 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 › General Discussion › How to add social icons in the main nav…

This topic is: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 10 years, 2 months ago by seminolecrew.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • February 8, 2016 at 11:53 am #178584
    seminolecrew
    Member

    I posted on here a while ago, but never received an answer. Trying again.

    I am trying to insert social media icons in my main nav. I searched online on how to do it. Seems like a great solution was located on this page (as far as code goes).

    But when I inserted the code in the functions.php file, it crashed the site. So I had to go back in and delete the code. As soon as I did that it was back up and running. Does anyone know what is wrong with the code, or how I can insert social media icons into the main nav?

    Thanks

    http://www.i5pi.com
    February 8, 2016 at 1:40 pm #178595
    Victor Font
    Moderator

    I've done this for this site: http://sunshinestateskinny.com/. The icons are from fontawesome.

    1. Install the Better FontAwesome plugin, so the fontawesome icons are always using the latest versions.
    2. Create a custom menu item for your main menu in the menu builder.
    3. The URL for the menu item points to your social media page
    4. The navigation label is the fontawesome icon of your choosing: <i class="fa fa-instagram"></i><span class="fa-hidden">Instagram</span>
    5. Add custom classes to the menu item: right social-icon
    6. Add the custom CSS to the theme's style sheet.

    .fa-hidden {
        position: absolute;
        left: -10000px;
        top: auto;
        width: 1px;
        height: 1px;
        overflow: hidden;
    }
    
    .genesis-nav-menu > .right {
        color: #FFF;
        display: inline-block;
        float: right;
        list-style-type: none;
        padding: 25px 0px;
        text-transform: uppercase;
    }
    
    .social-icon > a i {
        font-size: 16px;
        padding-right: 20px;
    }

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 8, 2016 at 1:44 pm #178597
    seminolecrew
    Member

    Thank you. I'm not super code knowledgeable, but that seems somewhat straight forward. I will give it a shot.

    Corey

    February 8, 2016 at 3:25 pm #178604
    seminolecrew
    Member

    Victor, I'm getting this error on the plugin install...

    Downloading install package from http://downloads.wordpress.org/plugin/better-font-awesome.1.4.3.zip…
    Download failed. SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

    Any advice?

    Corey

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ 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