• 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

Genesis Sample Theme : How to add (Font Awesome) icon font next to search bar

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 › Genesis Sample Theme : How to add (Font Awesome) icon font next to search bar

This topic is: resolved

Tagged: #genesissampletheme #iconfont #fontawesome #searchbox

  • This topic has 7 replies, 3 voices, and was last updated 8 years, 6 months ago by Eva Lim.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • August 16, 2014 at 6:45 am #119183
    Eva Lim
    Member

    How can I add an icon font from Font Awesome next to the search box in Genesis Sample Theme?
    I was hoping to add a magnifying glass icon right next to the search box.

    Any help is much appreciated, thanks!

    August 16, 2014 at 3:09 pm #119265
    JanHoek
    Participant

    We always have Sridhar, http://sridharkatakam.com/add-magnifying-glass-icon-font-using-dashicons-search-button-genesis/


    Hi, my name is Jan Hoek. Sure, they all say I have a big head, but I like to think it’s way too small for all my ideas.

    August 18, 2014 at 12:06 am #119462
    Eva Lim
    Member

    Hi Jan, thanks for your feedback. So I tried the code here: http://sridharkatakam.com/adding-search-form-input-button-icon-inside-input-box-genesis/
    And it works perfectly for an FontAwesome icon font.

    However - how do I get the icon font to appear OUTSIDE the input box, and not inside?

    I've tried playing around with the position and right/left values, but the icon font is not visible as soon as it's outside the input box. Any help is much appreciated, thanks!

    August 18, 2014 at 2:43 am #119490
    JanHoek
    Participant

    Just leave a comment on that post from Sridhar and he wil fix that for you. I'm sure.


    Hi, my name is Jan Hoek. Sure, they all say I have a big head, but I like to think it’s way too small for all my ideas.

    September 13, 2014 at 3:39 pm #124278
    Sridhar Katakam
    Participant

    @dogstalkpoetry Where are you placing the search form? In the Header Right widget area or nav bar or Primary sidebar or..?


    Genesis Tutorials | Follow me on Twitter

    September 13, 2014 at 7:02 pm #124289
    Eva Lim
    Member

    Hi SK!

    I'm a big fan of your tutorials. 🙂
    The search form is in the primary sidebar.
    Any help is appreciated, thank you!

    September 14, 2014 at 12:24 am #124298
    Sridhar Katakam
    Participant

    http://sridharkatakam.com/adding-search-navigation-font-awesome-search-icon-outside-box-genesis/


    Genesis Tutorials | Follow me on Twitter

    September 14, 2014 at 5:03 am #124307
    Eva Lim
    Member

    I've made a minor tweak:

    .search-form input[type="search"] {
    width: 85%;
    }

    Everything else works perfectly, thank you so much SK!
    Your help is much appreciated.

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