![]() ![]() To make it work like a submit button, use jQuery. Ideally you would want to just style the actual submit button, but you can’t use FA CSS on any type of input elements because they don’t contain content, so can’t use :before or :after. You can move this login button replacement around to get the full control of it that you need. Use your FontAwesome CSS on that div to get your icon in the right place. Make a div with a unique ID like #login-submit-block, next to your submit button in your HTML code. If you’d still like to use the FA icon button though, here’s how you could do it: Follow this app Developer website SpamSieve overview SpamSieve is a robust spam filter for major email clients that uses powerful Bayesian spam filtering. That may be best, if you don’t want the extra work. Hope that helps, apologies if you’ve already considered this stuff! Second, since you’re replacing your form submit button with something else, you’ll need to both use Javascript or jQuery to handle the onclick event so the faux button is still clickable, and will also need to provide a non-JS fallback. You may need to use absolute positioning (on the :before pseudo-element, with relative positioning on the container) to get your icon in the right place though. You may be aware of the following points, but just in case, here are two little bits worth noting: First, some older browsers (IE8) won’t accept :after, but will accept :before, so using :before is preferable is possible. You’ll need to adjust margins a little to get it looking correct. If you change your CSS to make the icon appear in the corner of the form itself, your issue should be fixed – i.e., use #login-form:after rather than #widget-login:after. This is because it’s essentially positioned in the top-right corner of the form container. Now it is time to train SpamSieve: To train SpamSieve with spam messages, select one or more of them and then choose SpamSieve - Train as Spam from the Script menu. When resizing the browser after the code you’ve used above has been inserted, the login form moves to below the list of forums, but the yellow icon arrow doesn’t stay in place relative to the form. The easiest way to do this is to click and hold on its Dock icon and make sure that Options Open at Login is checked. Share Improve this answer Follow answered at 19:54 Andrey Markeev 16.3k 3 39 70 1 Nope, it actually is a site scoped feature. You should try to change your feature scope to Site. Regarding your second (more recent) question: I may not understand what you mean about poor flow, but I think I can help. 2 Answers Sorted by: 2 Looks like you have a Web-scoped feature. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |