Preview/Send Button Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
3 posters

    Preview/Send Button

    Mineko
    Mineko
    Forumember


    Female Posts : 57
    Reputation : 1
    Language : Hungarian
    Location : Hungary

    Solved Preview/Send Button

    Post by Mineko July 7th 2021, 1:23 pm

    Hello ^^

    So, um ... I have a question that I want to solve the code in HTML as shown in the picture. However, what is code in the image is not included in the HTML. Because in the picture, only a temporary transcription, unfortunately it does not remain so permanently.


    Preview/Send Button LDCXIjF

    HTML code: viewtopic_body:
    tikky
    tikky
    Forumember


    Posts : 922
    Reputation : 159
    Language : 🇵🇹

    Solved Re: Preview/Send Button

    Post by tikky July 7th 2021, 2:52 pm

    Hello @Mineko,

    In your stylesheet (CSS) use:
    To "Nézd meg":
    Code:
    form[action="/post"] .liteoption {

    }
    To "Küld el":
    Code:
    form[action="/post"] .mainoption {

    }
    Mineko
    Mineko
    Forumember


    Female Posts : 57
    Reputation : 1
    Language : Hungarian
    Location : Hungary

    Solved Re: Preview/Send Button

    Post by Mineko July 7th 2021, 4:39 pm

    Um, okay ... But, uh ... What should I paste? Or do I not have to rewrite anything into this? I just paste it smoothly and that's it? ^^"
    tikky
    tikky
    Forumember


    Posts : 922
    Reputation : 159
    Language : 🇵🇹

    Solved Re: Preview/Send Button

    Post by tikky July 8th 2021, 9:21 am

    From what I understand from your image is the difference appearance in the buttons right? Because you cannot edit the source code of the editor. In your template you can find this part here (is a variable):
    Code:
    <!-- BEGIN switch_user_logged_in --><a name="quickreply"></a>{QUICK_REPLY_FORM}<!-- END switch_user_logged_in -->
    Your only solution is to use the code above. Sorry if I didn't understand your question correctly
    Mineko
    Mineko
    Forumember


    Female Posts : 57
    Reputation : 1
    Language : Hungarian
    Location : Hungary

    Solved Re: Preview/Send Button

    Post by Mineko July 8th 2021, 10:09 am

    Yeah, I think I get it. So I can't rewrite the names of the buttons. If I understand correctly. ^^ "
    tikky
    tikky
    Forumember


    Posts : 922
    Reputation : 159
    Language : 🇵🇹

    Solved Re: Preview/Send Button

    Post by tikky July 8th 2021, 11:21 am

    Mineko wrote:Yeah, I think I get it. So I can't rewrite the names of the buttons. If I understand correctly. ^^ "
    By script you can:
    Code:
    (function($) {
        'use strict';

        $(function() {

            var $form = $('form[action="/post"]');

            if (!$form.length) return;

            $form
                .find('.liteoption')
                .attr('value', 'button 1')
                .end()
                .find('.mainoption')
                .attr('value', 'button 2');

        });
    }(jQuery));

    sivastar, SLGray and TonnyKamper like this post

    Mineko
    Mineko
    Forumember


    Female Posts : 57
    Reputation : 1
    Language : Hungarian
    Location : Hungary

    Solved Re: Preview/Send Button

    Post by Mineko July 8th 2021, 7:33 pm

    Thank you <3 @pedxz
    Hug I love you
    skouliki
    skouliki
    Manager
    Manager


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

    Solved Re: Preview/Send Button

    Post by skouliki July 8th 2021, 8:05 pm

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