• I want to change the look of the submit button by adding additional classes but obviously every time I update the theme I lose the change.

    I’m using a child theme but I couldn’t see any documentation how I can add this to my functions.php

    You have:

    <?php if ($this->restrictions->input_type !== ‘buttons’): ?>
    <input type=”submit” value=”<?php echo __($this->messages->submit) ?>” class=”age-gate-submit”>
    <?php endif; ?>

    I want it changed to

    <?php if ($this->restrictions->input_type !== ‘buttons’): ?>
    <input type=”submit” value=”<?php echo __($this->messages->submit) ?>” class=”age-gate-submit fusion-button fusion-button-round button-xlarge button-default”>
    <?php endif; ?>

    Look forward to hearing from you Phil.

    Thanks,
    Richard

Viewing 1 replies (of 1 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @bguk,

    Unfortunately this isn’t possible in the current version of the plugin. I am working of a major release (v3) that will allow custom attributes of pretty much anything that won’t interfere with the form functionality.

    As a work around til then I could add a filter to put additional classes on the buttons if that’s any good to you?

    Cheers
    Phil

Viewing 1 replies (of 1 total)

The topic ‘age-gate-public-display.php’ is closed to new replies.