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

    Link Button in the Editor

    Snows
    Snows
    Forumember


    Male Posts : 140
    Reputation : 4
    Language : English

    Solved Link Button in the Editor

    Post by Snows September 2nd 2019, 4:56 am

    Please i need a button which i can add link and Text in my forum editor, Something like this

    Link Button in the Editor Insho128


    Last edited by Snows on September 3rd 2019, 11:23 am; edited 1 time in total
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51499
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Link Button in the Editor

    Post by SLGray September 2nd 2019, 6:07 am

    You already have one.  It is the Insert a Link button.  Just add this in the bottom box:
    Code:
    [img]IMAGE'S URL[/img]

    Example:  My avatar is link to my profile -
    Link Button in the Editor 26520-89
    If you just want text, add text in the bottom box.
    My Profile



    Link Button in the Editor Slgray10

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


    Male Posts : 140
    Reputation : 4
    Language : English

    Solved Re: Link Button in the Editor

    Post by Snows September 2nd 2019, 8:39 pm

    SLGray wrote:You already have one.  It is the Insert a Link button.  Just add this in the bottom box:
    Code:
    [img]IMAGE'S URL[/img]

    Example:  My avatar is link to my profile -
    Link Button in the Editor 26520-89
    If you just want text, add text in the bottom box.
    My Profile
    Thats not what am saying,.... Check this page 
    http://fmdesign.forumotion.com/t1337-copy-code#30216
    The button in that page is not an image button.
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15312
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    Solved Re: Link Button in the Editor

    Post by skouliki September 2nd 2019, 9:07 pm

    this is a table with ccs style to look like a button
    similar information you will find here https://help.forumotion.com/t147483-announcement-and-tutorial-topic-table-style-on-this-forum?highlight=table+annoucement

    Snows
    Snows
    Forumember


    Male Posts : 140
    Reputation : 4
    Language : English

    Solved Re: Link Button in the Editor

    Post by Snows September 2nd 2019, 9:54 pm

    skouliki wrote:this is a table with ccs style to look like a button
    similar information you will find here https://help.forumotion.com/t147483-announcement-and-tutorial-topic-table-style-on-this-forum?highlight=table+annoucement
    Something Similar to this... I will be glad if i get a help.
    avatar
    Guest
    Guest


    Solved Re: Link Button in the Editor

    Post by Guest September 3rd 2019, 9:54 am

    Add this CSS code:
    Code:
    .button {
      background-color: #4CAF50;
      border: none;
      color: white;
      padding: 15px 32px;
      text-align: center;
      text-decoration: none;
      display: inline-block;
      font-size: 16px;
    }
    And use this code in the topics:
    Code:
    [table class="button"][tr][td]Text[/td][/tr][/table]
    Snows
    Snows
    Forumember


    Male Posts : 140
    Reputation : 4
    Language : English

    Solved Re: Link Button in the Editor

    Post by Snows September 3rd 2019, 10:55 am

    Roger123 wrote:Add this CSS code:
    Code:
    .button {
      background-color: #4CAF50;
      border: none;
      color: white;
      padding: 15px 32px;
      text-align: center;
      text-decoration: none;
      display: inline-block;
      font-size: 16px;
    }
    And use this code in the topics:
    Code:
    [table class="button"][tr][td]Text[/td][/tr][/table]
    This is what i want but the text is going out of the button on my forum.


    Check it here 
    https://www.9jaloud.com/t6371-test-button-code#7387
    avatar
    Guest
    Guest


    Solved Re: Link Button in the Editor

    Post by Guest September 3rd 2019, 11:05 am

    Try it with HTML:
    Code:
    <div class="button">Your text</div>
    (Remember to enable HTML first)
    Snows
    Snows
    Forumember


    Male Posts : 140
    Reputation : 4
    Language : English

    Solved Re: Link Button in the Editor

    Post by Snows September 3rd 2019, 11:11 am

    Same thing occur... Check the link above to see how it appear.
    avatar
    Guest
    Guest


    Solved Re: Link Button in the Editor

    Post by Guest September 3rd 2019, 11:17 am

    Remove this part of the CSS code above:
    Code:
    padding: 15px 32px;
    Snows
    Snows
    Forumember


    Male Posts : 140
    Reputation : 4
    Language : English

    Solved Re: Link Button in the Editor

    Post by Snows September 3rd 2019, 11:22 am

    Thanks alot, am glad you helped.
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15312
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    Solved Re: Link Button in the Editor

    Post by skouliki September 3rd 2019, 2:17 pm

    Problem solved & topic archived.
    Please read our forum rules:  ESF General Rules


      Current date/time is September 23rd 2024, 8:34 am