• Resolved spc4487315

    (@spc4487315)


    Thank you for the plug in, good work! I am using the plugin within the Divi Builder. After selecting “FA Constructor” I am able to choose “Simple Icon” from the “Elements” menu. I get a field to style the icon size and am able to change icon size successfully. However, when I choose “Simple Icon with Text and Shape” there is no option to style the size of the icon. I had been attempting to make the icon bigger manually by adding “font_size=40px” to the shortcode per instructions on plugin page:

    ‘Shortcode with additional attributes:

    [fac_icon icon=”camera” font_size=”20px” color=”#ff0000″]
    font_size – allow to set icon size, positive digital value with “px”
    color – allow to set icon color with HEX color value’

    Any icon size I put in the shortcode is ignored, and I am unable to style the icon size when “Simple Icon with Text and Shape” is chosen. I’m wondering if by design you have put a limit on the icon size when it is accompanied with text? Or am I doing something wrong and there is a way to change the icon size manually with this option? Thank you!

    https://www.ads-software.com/plugins/agp-font-awesome-collection/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Alexey Golubnichenko

    (@agolubnichenko)

    Hi, spc4487315

    “Simple Icon with Text and Shape” – is a predefined element and you are not able to change font size via plugin options and also you are not able to use parametres from other shortcodes here.
    If you need to have some customization there you can try to:

    1) Use following code in style file of your theme:

    Following set of the styles allows to operate with shape size:

    .fac.fac-icontext-template .fac-shape {
        font-size: 16px !important;
        height: 22px;
        width: 22px;
    }

    Following set of the styles allows to operate with icon size:

    .fac.fac-icontext-template i {
        font-size: 24px !important;
        height: 35px;
        line-height: 35px !important;
        width: 35px;
    }

    2) Use “Simple Icon” shortcode and customize it via your style file for your purposes.

    With kind regards,
    Alexey

    Plugin Author Alexey Golubnichenko

    (@agolubnichenko)

    Currently I mark this topic as resolved. If you have other questions or comments you can reopen this topic or create a new one.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘shortcode for for font_size’ is closed to new replies.