• Resolved frudoc

    (@frudoc)


    So far I have this: [icon name=”fa-download” class=”fa-2x”]

    What do I need to do to change the color of the icon?

    Or do I have to give it a class and use CSS?

    Thank you!
    Dan

    • This topic was modified 7 years, 6 months ago by frudoc.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mickey Kay

    (@mcguive7)

    Hi Dan,

    This question has been asked a ton of times, so please check the existing answers in other support threads. tldr; this type of display-layer styling should ideally be the responsibility of your theme, not this plugin.

    Thread Starter frudoc

    (@frudoc)

    Ya, sorry. I had not found an answer that was clear to me in the support threads. Blame it on my ignorance. My theme *does* apply the default color to the icons. I am trying to *change* the color in certain circumstances. Seeing as how the size can easily be changed inside of the shortcode, I wondered if the color could, too. So, I asked how I could do this or if I needed to style it with CSS. I’ve moved on from this plugin but will assume CSS is needed to get the job done if I ever come back.

    For example you can use this shortcode:
    [icon name="address-book" class="2x" unprefixed_class="blue"]

    Add in your css

    .blue {color:#337ab7;}

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change Color in Shortcode?’ is closed to new replies.