test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • cod1 Friend
    #823181

    Hi,

    How to replace Logout with font awesome (eg. fa-power-off) on small and medium screens. I can’t figure out how to add Font Awesome icon to input field in this scenario:

    <div class="logout-button">
        <input type="submit" name="Submit" class="button btn hidden-xs" value="<?php echo JText::_('JLOGOUT'); ?>" />
        <i class="fa fa-power-off hidden-sm hidden-md hidden-lg"></i>
    </div>

    Thanks

    cod1 Friend
    #825548

    Actually, I found a way to make it work.

    <div class="logout-button">
        <input type="submit" name="Submit" class="button btn hidden-xs" value="<?php echo JText::_('JLOGOUT'); ?>" />
        <button type="submit" class="fa fa-power-off hidden-sm hidden-md hidden-lg"></button>
    </div>

    and css:

    .fa-power-off {
        height:32px;
        width:32px;
        position:relative;
        border: none;
        cursor: pointer;
        color:white;
        background-color: blue;
    }
    Ninja Lead Moderator
    #826166

    Hi,

    Thanks for your sharing, it’s helpful for community.

    Regards

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Ninja Lead 9 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum