Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #363911

    Fontello doesnt have any font package for numbers. Is there any way that I can use numbers instead of characters in my icon box?

    #364305

    Hey afarahani!

    First off do this, http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/, and then add a class to your iconbox such as “icon_one”.

    And then add this to your custom CSS.

    .icon_one .iconbox_icon:before {
        content: "1" !important;
    }
    .icon_two .iconbox_icon:before {
        content: "2" !important;
    }
    .icon_three .iconbox_icon:before {
        content: "3" !important;
    }

    Regards,
    Elliott

    #365079

    Hi Elliott,

    Is there any way that I can use farsi charachters (numbers) in above custom CSS?

    Regards,
    Amir

    #365348

    Hey!

    Yes, you can place them inside double quotes instead of numbers

    Cheers!
    Yigit

    #661847

    I tried the workaround given by Elliott but it doesnt seem to work, it was posted in 2014, is this still compatible with the latest version? if so please clarify the steps if possible thanks

    #661947

    Hi,


    @kilimats
    yes it is working. If it is not working for you, please start a new thread, attach temporary admin logins in private content field so we can look into it. If you post them here, OP would be able to see private content field as well.

    Best regards,
    Yigit

    #744454

    HI Yigit,

    Thank you for the instructions for replacing the icon with numbers. It works great!
    How may I change the font and size of the numbers?

    Valerie

    #746563

    Hi,

    Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)

    Best regards,
    Andy

    #747588

    Hi Andy,

    Thanks for the help. The icon boxes are at the top of the page.

    Valerie

    #747845

    Hi Valerie,

    Thanks for the link, though I can’t see any content at all on the page you linked to?

    Best regards,
    Rikard

    #748099

    Hi Rikard,

    Thank you for the quick response and also for seeing this error. The content should display on the page now. The icon boxes are at the top of the page.

    Valerie

    #749307

    Hi,

    with this code you can change font size of the icon in question:

    .iconbox_top .iconbox_icon {
    font-size: 30px;
    }
    #top .avia-font-entypo-fontello, body .avia-font-entypo-fontello, html body [data-av_iconfont='entypo-fontello']:before {
    font-family: 'Helvetica';
    }

    Adjust as needed.

    Best regards,
    Andy

    #749406

    Hi Andy,

    Thank you for the quick response. The font size looks great, but the font family did not take effect.
    Is there anything else I can try for the font family?

    Valerie

    #749428

    Hey!

    Please try adding following code to Quick CSS

    .iconbox_top .iconbox_icon, .iconbox_top .iconbox_icon * {
    font-family: 'Helvetica' !important;
    }

    Regards,
    Yigit

    #750066

    Hi Yigit,

    Thank you for the CSS. It did not change the font.
    Do you have any other ideas?

    Thank you,
    Valerie

    #752152

    Hi,

    What is the font that you want to use? Please try using a different font.

    #top .avia-font-entypo-fontello, body .avia-font-entypo-fontello, html body [data-av_iconfont='entypo-fontello']:before {
        font-family: 'Courier' !important;
    }

    Don’t forget to remove the previous modifications.

    Best regards,
    Ismael

    #752339

    Hi Ismael,

    Thank you for the help! It looks fantastic.

    Valerie

Viewing 17 posts - 1 through 17 (of 17 total)
  • The topic ‘Using numbers instead of font characters in Icon-Box’ is closed to new replies.