Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Social Media Icons with Font Awesome

Social Media Icons with Font Awesome

Scheduled Pinned Locked Moved General Discussion
8 Posts 4 Posters 525 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hellojensi
    wrote on May 6, 2020, 1:42 PM last edited by
    #1

    Hey.

    I’m just working on my wordpress-site and I wanted to include some icons as a link to my social media accounts.

    By description the plug-in Font Awesome seemed like the right tool to do it, so I installed and activated it.

    I tried to add a stroopwafel-symbol by adding "HTML" and then entering this <i class=fas fa-stroopwafel"></i>-thingy.

    I also tried to add the same thing as a "shortcode" ([icon name="stroopwafel"]).

    Neither worked out, there is no stroopwafel-symbol showing up when reloading the project page.

    What am I doing wrong? Any ideas?

    Thanks in advance

    j.

    A 1 Reply Last reply May 9, 2020, 11:48 PM
    0
    • M Offline
      M Offline
      mariusjopen
      Global Moderator
      wrote on May 6, 2020, 3:20 PM last edited by
      #2

      Dear @hellojensi
      stroopwafel-symbol :-D

      Not sure if Fontawesome works.
      Will check with Armin.
      Best!
      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • A Online
        A Online
        arminunruh
        Global Moderator
        wrote on May 7, 2020, 5:05 PM last edited by
        #3

        link link link?

        H 1 Reply Last reply May 14, 2020, 5:57 PM
        0
        • H hellojensi
          May 6, 2020, 1:42 PM

          Hey.

          I’m just working on my wordpress-site and I wanted to include some icons as a link to my social media accounts.

          By description the plug-in Font Awesome seemed like the right tool to do it, so I installed and activated it.

          I tried to add a stroopwafel-symbol by adding "HTML" and then entering this <i class=fas fa-stroopwafel"></i>-thingy.

          I also tried to add the same thing as a "shortcode" ([icon name="stroopwafel"]).

          Neither worked out, there is no stroopwafel-symbol showing up when reloading the project page.

          What am I doing wrong? Any ideas?

          Thanks in advance

          j.

          A Offline
          A Offline
          aerotec
          wrote on May 9, 2020, 11:48 PM last edited by aerotec May 9, 2020, 7:52 PM
          #4

          @hellojensi

          Hello, Font Awesome works great with lay. I use it like that:

          1. Sign in at font Awesome and create a free kit.

          2. When your Kit is created you get a script code.

          3. Copy the script code to the <head> section at lay's Custom CSS & HTML.

            I use links and script in the <head> section

            <link href="/your-path-to-fontawesome/css/fontawesome.css" rel="stylesheet">
            <link href="/your-path-to-fontawesome/css/brands.css" rel="stylesheet">
            <link href="/your-path-to-fontawesome/css/solid.css" rel="stylesheet">
            <script src="https://kit.fontawesome.com/ae25ce5210.js" crossorigin="anonymous"></script>
          
          

          After this i put the Font Awesome Snippet i want in the html section of my Text for example:

          <p style="text-align: left;"><i class="fa fa-envelope-square fa-lg"></i> <a href="mailto:info@yoursite.de">E-Mail</a></p>
          

          And when you want to customize each icon you can again use the Custom CSS like this:

          .fa-fish {
              color: salmon;
            }
          
            .fa-envelope-square, .fa-calendar-check-o, .fa-map-marker-alt, .fa-link {
              color: dodgerblue;
            }
            
              .fa-phone-square-alt {
              color: dodgerblue;
            }
          
            .fa-user-ninja.vanished {
              opacity: 0.0;
            }
          
            .fa-facebook {
              color: rgb(59, 91, 152);
            }
          
          H 1 Reply Last reply May 14, 2020, 6:00 PM
          0
          • M Offline
            M Offline
            mariusjopen
            Global Moderator
            wrote on May 11, 2020, 8:19 AM last edited by
            #5

            Dear @aerotec
            Thank you for helping!
            We appreciate the time people take to make the LayTheme community stronger.
            Best!
            Marius

            www.mariusjopen.world

            1 Reply Last reply
            0
            • arminunruhA arminunruh
              May 7, 2020, 5:05 PM

              link link link?

              H Offline
              H Offline
              hellojensi
              wrote on May 14, 2020, 5:57 PM last edited by
              #6

              @arminunruh That’s www.thejensstein.com … I’m not very good at this internet stuff (aka css), but I managed to create a font out of the symbols I wanted to use with some tool called icomoon and it worked out fine for my footers.

              The Font Awesome-advice by aerosec looks reasonable but I’m lazy right now.

              1 Reply Last reply
              0
              • A aerotec
                May 9, 2020, 11:48 PM

                @hellojensi

                Hello, Font Awesome works great with lay. I use it like that:

                1. Sign in at font Awesome and create a free kit.

                2. When your Kit is created you get a script code.

                3. Copy the script code to the <head> section at lay's Custom CSS & HTML.

                  I use links and script in the <head> section

                  <link href="/your-path-to-fontawesome/css/fontawesome.css" rel="stylesheet">
                  <link href="/your-path-to-fontawesome/css/brands.css" rel="stylesheet">
                  <link href="/your-path-to-fontawesome/css/solid.css" rel="stylesheet">
                  <script src="https://kit.fontawesome.com/ae25ce5210.js" crossorigin="anonymous"></script>
                
                

                After this i put the Font Awesome Snippet i want in the html section of my Text for example:

                <p style="text-align: left;"><i class="fa fa-envelope-square fa-lg"></i> <a href="mailto:info@yoursite.de">E-Mail</a></p>
                

                And when you want to customize each icon you can again use the Custom CSS like this:

                .fa-fish {
                    color: salmon;
                  }
                
                  .fa-envelope-square, .fa-calendar-check-o, .fa-map-marker-alt, .fa-link {
                    color: dodgerblue;
                  }
                  
                    .fa-phone-square-alt {
                    color: dodgerblue;
                  }
                
                  .fa-user-ninja.vanished {
                    opacity: 0.0;
                  }
                
                  .fa-facebook {
                    color: rgb(59, 91, 152);
                  }
                
                H Offline
                H Offline
                hellojensi
                wrote on May 14, 2020, 6:00 PM last edited by
                #7

                @aerotec I’ll have to try that one. I figured out a more complicated – and probably ridiculous – way to get a similar result, but I understand the advantages of using CSS and will have a go at it.

                Thank you very much.

                j.

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mariusjopen
                  Global Moderator
                  wrote on May 18, 2020, 5:28 PM last edited by
                  #8

                  Dear @aerotec
                  let me know where I can help :-)
                  Best!
                  Marius

                  www.mariusjopen.world

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes

                  1/8

                  May 6, 2020, 1:42 PM


                  I also code custom websites or custom Lay features.
                  💿 Email me here: 💿
                  info@laytheme.com

                  Before you post:
                  1. When using a WordPress Cache plugin, disable it or clear your cache.
                  2. Update Lay Theme and all Lay Theme Addons
                  3. Disable all Plugins
                  4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                  This often solves issues you might run into

                  When you post:
                  1. Post a link to where the problem is
                  2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                  3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                  Online Users
                  arminunruhA
                  arminunruh
                  6 minutes ago
                  M
                  Monsieur
                  18 minutes ago
                  Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                  laytheme.com
                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  1 out of 8
                  • First post
                    1/8
                    Last post
                  0
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Search