More on 'extra buttons'

Hi Roman if you’re out there. Last week you suggested a jquery solution to add an extra call to action button on West. It worked perfectly. Sorry to be a pain, but is there a way to add two extra buttons to the originals (total 4)? I have tried variations of the code, but nothing has worked correctly. This is the code you suggested for one extra button.

<script type='text/javascript'>
    jQuery(document).ready(function(){
        jQuery('a.button.header-button.right-button').after(jQuery('<a href="3rdButtonLink">3rdButtonName</a>'));
    });
</script>

thank you

Hello @JRD760,

Please use the following JS and CSS code to add two buttons.

This is JavaScript:

<script type='text/javascript'>
    jQuery(document).ready(function(){

        jQuery('a.button.header-button.right-button').after(jQuery('<a href="3rdButtonLink" class="button header-button right-button 3rd-button">3rdButtonName</a>'));

        jQuery('a.button.header-button.right-button.3rd-button').after(jQuery('<a href="4thButtonLink" class="button header-button right-button 4th-button">4thButtonName</a>'));

    });
</script>

This is CSS:

@media only screen and (max-width: 800px) {
    .button.header-button {
        margin-top: 12px !important;
    }
}

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.

Awesome. Thanks Roman!!

You are welcome @JRD760!

And have a nice day :slight_smile:

Kind Regards, Roman.