Remember me

Icon in popup form button

7 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

7 years 6 months ago #2

  • Viacheslav's Avatar
  • Viacheslav
  • Posts: 28858
Hi,

Can you send us link your site with this forms?

Regards,
Vyacheslav, Balbooa.com

7 years 6 months ago #3

  • Viacheslav's Avatar
  • Viacheslav
  • Posts: 28858
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

7 years 6 months ago #4

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

7 years 6 months ago #5

  • Viacheslav's Avatar
  • Viacheslav
  • Posts: 28858
You are welcome ! :)
Powered by Kunena Forum