Mon. - Fri. 9 am - 5 pm Ask a Question
Remember me

Icon in popup form button

6 years 6 months ago #1

  • Gael's Avatar
  • Gael
Hi!

How is it possible to ad an icon instead of text (or before text) in the pop up button ?
I tried something like <i class="uk-icon-paper-plane"></i> in the pop up button text, but it doesn't work. Seems like the code is ignored.
Would be nice to be able to simply define an icon for the popup button...
Cheers

6 years 6 months ago #2

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 27049
Hi,

Can you send us link your site with this forms?

Regards,
Vyacheslav, Balbooa.com

6 years 6 months ago #3

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 27049
Hello,

You need add custom class(custom-class) for your form
and add css code:
.custom-class .btn-right:before {
    content: "\f1d8";
    font-family: FontAwesome;
    font-size:18px;
    color: #fff;
    background-color: rgba(56, 74, 145, 1);
    position: absolute;
    top: 13px;
    left: 10px;
}

.custom-class input.popup-btn {
	padding-left: 35px;
}

Regards,
Vyacheslav, Balbooa.com

6 years 6 months ago #4

  • Gael's Avatar
  • Gael
Great, thank you !

6 years 6 months ago #5

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 27049
You are welcome ! :)
Powered by Kunena Forum