The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    fonts

    Mariami
    Mariami
    Forumember


    Posts : 106
    Reputation : 1
    Language : english

    Solved fonts

    Post by Mariami Fri 23 Jan - 18:25

    please put me codes in javascriot code to set anther fonts
    I want Heartlander,Sagoe script or other like fonts codes
    avatar
    Guest
    Guest


    Solved Re: fonts

    Post by Guest Fri 23 Jan - 18:36

    Hello Mariami,
    You are able to change the font of your forum in the Colors section of your Admin Panel. It will be under the Display tab.

    You will be able to add and change the fonts your website uses from there.

    -James
    Mariami
    Mariami
    Forumember


    Posts : 106
    Reputation : 1
    Language : english

    Solved Re: fonts

    Post by Mariami Fri 23 Jan - 19:04

    I did not do it
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: fonts

    Post by SLGray Fri 23 Jan - 19:12

    Are you trying to add fonts that are not on your computer?



    fonts Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Mariami
    Mariami
    Forumember


    Posts : 106
    Reputation : 1
    Language : english

    Solved Re: fonts

    Post by Mariami Fri 23 Jan - 19:15

    SLGray wrote:Are you trying to add fonts that are not on your computer?
    I have all fants in my computer
    but I dont know how to add it on forum
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: fonts

    Post by SLGray Fri 23 Jan - 19:17

    Administration Panel > Display > Colors & Pictures > Colors
    The font options are in the first section.



    fonts Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    Guest
    Guest


    Solved Re: fonts

    Post by Guest Fri 23 Jan - 19:24

    Hello again,
    If you are wanting a Javascript code, try using these.

    Insert this into your Javascript Management. Select "All Pages" when you add this as well.
    Code:
    $(function(){$(function() {
      $('.sceditor-button-font').click(function() {
        addFont('Calibri');
        addFont('Papyrus');
        addFont('Avantgarde');
     
        $('.sceditor-font-option.new-font').click(function(e){$('#text_editor_textarea').sceditor('instance').insertText('[font='+$(this).attr('data-font')+']','[/font]');$('.sceditor-font-picker').remove();e.preventDefault()})
      });
      function addFont(font){$('.sceditor-font-picker div').append('<a unselectable="on" class="sceditor-font-option new-font" href="#" data-font="'+font+'"><font unselectable="on" face="'+font+'">'+font+'</font></a>')}
    })});

    To add more fonts just add this code underneath the others in the code provided above.
    Code:
    addFont('Baskerville');

    And to fix the editor after adding all these codes, just add this to your CSS.
    Code:
    .sceditor-font-picker {
      height:250px;
      width:150px;
      overflow-y:auto;
    }

    Code by @Ange Tuteur
    Source -> http://fmdesign.forumotion.com/t220-add-more-font-choices-to-the-editor

    -James
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: fonts

    Post by SLGray Fri 23 Jan - 19:28

    Are you trying to add fonts to the editor?



    fonts Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Mariami
    Mariami
    Forumember


    Posts : 106
    Reputation : 1
    Language : english

    Solved Re: fonts

    Post by Mariami Fri 23 Jan - 20:35

    Jadster wrote:

    To add more fonts just add this code underneath the others in the code provided above.
    Code:
    addFont('Baskerville');
    I did not undertand where will I put this code? are you able to take picture/?
    I want Sagoe script code and there is not that code
    avatar
    Guest
    Guest


    Solved Re: fonts

    Post by Guest Fri 23 Jan - 21:15

    You will want to add that underneath the code similar to it in the Javascript code I provided near the top.

    Code:
    addFont('Avantgarde');

    Add your new fonts after that code there. It should be the 5th line down on the javascript code that I gave you.
    Mariami
    Mariami
    Forumember


    Posts : 106
    Reputation : 1
    Language : english

    Solved Re: fonts

    Post by Mariami Fri 23 Jan - 21:42

    I dont wont hot to fdo this
    please show me pictures
    avatar
    Guest
    Guest


    Solved Re: fonts

    Post by Guest Fri 23 Jan - 22:16

    I have added an image for you inside the spoiler below Smile

    Spoiler:

    If you still need help, provide me all the fonts you want to add and I will do it and just provide the code.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: fonts

    Post by SLGray Sat 24 Jan - 1:11

    Even if you add need fonts, they will not appear if they are not on your members' computers.



    fonts Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Mariami
    Mariami
    Forumember


    Posts : 106
    Reputation : 1
    Language : english

    Solved Re: fonts

    Post by Mariami Sat 24 Jan - 9:34

    Jadster wrote:

    If you still need help, provide me all the fonts you want to add and I will do it and just provide the code.
    thank you
    I want Sagoe script, Brush script MT , Caprica Sans , Cookie monster, Dom Casual, Forte regular, Geo-zaza regular, Solid italic, Heartlander, TFVictoria Scripts
    avatar
    Guest
    Guest


    Solved Re: fonts

    Post by Guest Sat 24 Jan - 15:34

    Here you go! Just add this to your Javascript Management.
    Code:
    $(function(){$(function() {
      $('.sceditor-button-font').click(function() {
        addFont('Calibri');
        addFont('Papyrus');
        addFont('Avantgarde');
        addFont('Sagoe script');
        addFont('Brush script MT');
        addFont('Caprica Sans');
        addFont('Cookie monster');
        addFont('Dom Casual');
        addFont('Forte regular');
        addFont('Geo-zaza regular');
        addFont('Solid italic');
        addFont('Heartlander');
        addFont('TFVictoria Scripts');
     
        $('.sceditor-font-option.new-font').click(function(e){$('#text_editor_textarea').sceditor('instance').insertText('[font='+$(this).attr('data-font')+']','[/font]');$('.sceditor-font-picker').remove();e.preventDefault()})
      });
      function addFont(font){$('.sceditor-font-picker div').append('<a unselectable="on" class="sceditor-font-option new-font" href="#" data-font="'+font+'"><font unselectable="on" face="'+font+'">'+font+'</font></a>')}
    })});

    Then just add this to your CSS!
    Code:
    .sceditor-font-picker {
      height:250px;
      width:150px;
      overflow-y:auto;
    }

    But remember, just as @SLGray said above, these fonts will not show up for your members unless they have these fonts added to their laptop or computer. If they don't have these fonts in their computer then they won't appear for them.

    Hope this helps!

    -James
    Mariami
    Mariami
    Forumember


    Posts : 106
    Reputation : 1
    Language : english

    Solved Re: fonts

    Post by Mariami Sat 24 Jan - 19:34

    thaaaaaaaaankk yoou very much
    some fonts are not work , but rhis fons I have on computer instaledd, and are you able to put me the most beautiful and good fonts too?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: fonts

    Post by SLGray Sat 24 Jan - 19:37

    You can remove or add any fonts you want in the JavaScript.



    fonts Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    Guest
    Guest


    Solved Re: fonts

    Post by Guest Sat 24 Jan - 21:32

    @Mariami,
    What else are you wanting to do or other fonts you are wanting to add? I would be more then happy to assist you in fixing these.
    Mariami
    Mariami
    Forumember


    Posts : 106
    Reputation : 1
    Language : english

    Solved Re: fonts

    Post by Mariami Tue 27 Jan - 16:27

    this did not wark
    and are you able to put me another code in javascript code?

    .sceditor-font-picker {
    height:250px;
    width:150px;
    overflow-y:auto;
    }
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19435
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: fonts

    Post by Ape Tue 27 Jan - 18:24

    Mariami wrote:this did not wark
    and are you able to put me another code in javascript code?

    .sceditor-font-picker {
     height:250px;
     width:150px;
     overflow-y:auto;
    }
    This Code should be in your CSS files and will make a slide bar on your Fonts Box when it gets to a max size of 250 Hight a lille like this fonts Captur26



    fonts Left1212fonts Center11fonts Right112
    fonts Ape_b110
    fonts Ape1010
    Mariami
    Mariami
    Forumember


    Posts : 106
    Reputation : 1
    Language : english

    Solved Re: fonts

    Post by Mariami Tue 27 Jan - 19:31

    it does not work

    fonts Image

    fonts Image
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19435
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: fonts

    Post by Ape Tue 27 Jan - 19:42

    you have an error in your Codes some place please send me a link to your forum and give me a Test account with admin rights to your forum in a pm and i will fix this for you but make sure you pm me with the password and test account name

    APE



    fonts Left1212fonts Center11fonts Right112
    fonts Ape_b110
    fonts Ape1010
    Mariami
    Mariami
    Forumember


    Posts : 106
    Reputation : 1
    Language : english

    Solved Re: fonts

    Post by Mariami Tue 27 Jan - 19:53

    ok
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19435
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: fonts

    Post by Ape Tue 27 Jan - 20:04

    All fixed lol if you see in this code


    Code:
    ul.navlinks span.new-message {
    color: #FF0000;
    you was missing the Closing bracket >> }

    if you look here this is how it should be after each code made


    Code:
    ul.navlinks span.new-message {
    color: #FF0000;
    }

    As you can see this is the code as it should be with the open bracket >> {
    and then at the end of that code the closed bracket >> }
     

    it is now working for you.



    fonts Left1212fonts Center11fonts Right112
    fonts Ape_b110
    fonts Ape1010
    Mariami
    Mariami
    Forumember


    Posts : 106
    Reputation : 1
    Language : english

    Solved Re: fonts

    Post by Mariami Tue 27 Jan - 20:06

    aaaaaa thannkk thankk you very muchh <333
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19435
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: fonts

    Post by Ape Tue 27 Jan - 20:09

    You are so welcome Wink

    is this now solved for you ?



    fonts Left1212fonts Center11fonts Right112
    fonts Ape_b110
    fonts Ape1010
    Mariami
    Mariami
    Forumember


    Posts : 106
    Reputation : 1
    Language : english

    Solved Re: fonts

    Post by Mariami Wed 28 Jan - 6:03

    APE wrote:You are so welcome Wink

    is this now solved for you ?
    yes thank youu
    it shows only for me and if other userns will not install that fonts in their computers they will not use that?
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19435
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: fonts

    Post by Ape Wed 28 Jan - 11:10

    yes if they do not have that font in there computer then it will not show like you see it but they will see your main forum default font still.

    Topic solved and archived



    fonts Left1212fonts Center11fonts Right112
    fonts Ape_b110
    fonts Ape1010

      Current date/time is Wed 13 Nov - 21:20