Jump to content

What file needs edit to remove font-awesome icon on continue button


Recommended Posts

On my form I want to remove the font-awesome icon on the 'continue' button.  Where do I remove that?  See image.

I'm using version 4.7 font-awesome, some of the font-awesome icons I use on my website aren't supported with the latest version and the two collide when used together. 

<button type="submit" class="btn btn-primary btn-lg">Continue &nbsp;<i class="fas fa-arrow-circle-right"></i></button>

image.png.f8a6f0601f62a44b8565bd40269f84a6.png

Link to comment
Share on other sites

This one should work.

<button type="submit" class="btn btn-primary btn-lg">Continue &nbsp;<i class="fa fa-arrow-circle-right"></i></button>

If it doesn't then remove the icon.

<button type="submit" class="btn btn-primary btn-lg">Continue</button>

 

Link to comment
Share on other sites

probably /templates/orderforms/boxes/products.tpl going by that screenshot... but you'd likely have to change every template in the boxes folder that uses this icon (adddomain, the three configure templates, viewcart and domainrenewals)

another option would be to use css to remove the icon (e.g in custom.css)...

i.fas.fa-arrow-circle-right {display: none !important;}

it should work, but because there is a hardcoded space in the output, the "Continue" will appear to be off-centre... so in this instance, it might be easier to edit the template as Kian suggests.

DvSaNIA.png

you could even change the icon using css - though I don't know if this would work in your case...

i.fas.fa-arrow-circle-right:before {content: "\f061";}

JnDjAGp.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated