0
Welcome Guest! Login
0 items Join Now

Resize Fontawesome

    • CC's Avatar
    • CC
    • Rocketeer
    • Posts: 63
    • Thanks: 0
    • Author, publisher, web designer, SEO

    Resize Fontawesome

    Posted 9 years 7 months ago
    • What is the class for resizing Fontawesome icons in Rockettheme Wordpress templates?

      I tried:
      <span class="icon-tablet"></span>
      And I got a tiny icon.

      Then I tried:
      <span class="fa fa-tablet fa-5x"></span> 
      And I got no icon.

      I'm sure that the icons can be bigger than tiny in Rockettheme templates. What am I missing here?

      (For info: I'm using Lumiere on Wordpress)

      Any tips would be fantastic, thanks.
    • CC's Avatar
    • CC
    • Rocketeer
    • Posts: 63
    • Thanks: 0
    • Author, publisher, web designer, SEO

    Re: Resize Fontawesome

    Posted 9 years 7 months ago
    • Ignore that question. I figured it out. It's controlled by font size.
  • Re: Resize Fontawesome

    Posted 8 years 11 months ago
    • Can you let me know how to did this? I am trying to figure out the same thing with Joomla Epsilon.

      Thanks,
      Bob
  • Re: Resize Fontawesome

    Posted 8 years 11 months ago
    • And I too figured it out! I should have been a little more persistent (and observant when using 'inspect element')
    • CC's Avatar
    • CC
    • Rocketeer
    • Posts: 63
    • Thanks: 0
    • Author, publisher, web designer, SEO

    Re: Resize Fontawesome

    Posted 8 years 11 months ago
    • Hey, sorry for the slow reply. I think you've figured it out, but just for more information, here's what I did:

      I added 'font-size:' to the element. You can add it in the CSS, but I was being lazy. So for my widget with a tablet icon on it, I just threw a span into the HTML to make it look the way I wanted. My span code looks like this:
      <span style="font-size:10em;" class="icon-tablet" ></span>

      The
      font-size:10em;

      Controls the size of the icon, and the:
      class="icon-tablet"

      Controls which icon appears. In this case, I chose the tablet.

      I just put it directly into the widget I was working on, in the position I wanted my tablet to appear in.

      I hope this helps. :)

Time to create page: 0.039 seconds