milettic
Forum Replies Created
-
AuthorPosts
-
November 28, 2016 at 12:45 pm in reply to: How to add custom class on add-listing page fields #312905
It works,
thank youNovember 25, 2016 at 2:09 pm in reply to: How to add custom class on add-listing page fields #310872I use this code with some CSS to make parent divs of checkboxes clickable, problem is because class “geodir_form_row” is used in entire page divs.
<script> jQuery(document).ready(function(){ jQuery( ".geodir_form_row" ).click(function() { jQuery(this).find('input[type=checkbox]').click(); if(jQuery(this).find('input[type=checkbox]').attr('checked')) { jQuery(this).closest("div").addClass( "checked-class" ); } else { jQuery(this).closest("div").removeClass( "checked-class" ); } }); }); </script>
November 24, 2016 at 9:21 pm in reply to: How to add custom class on add-listing page fields #310309I meant css class, i need to add custom css class to all checkboxes, only checkboxes. Now the custom class appear only on detail page, and not on “and-listing” page
Works great, thanks!
Hi,
Thank you for providing me this example. I have tried to implement this with checkboxes but without success…
Could you please provide me one example with checkboxes?
Think youThats it, works perfect. I didn’t know this…
Thanks.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.Ahh, there…:)
Now is okay, thanks!Yes i checked and nothing there to fix this. Something else?
This reply has been marked as private.This reply has been marked as private.ok, I will install this plugin and try to solve this problem. Sorry this is my first project in wordpress, I didn’t know that exists something like this.
Thank youplease more help, i don’t understand 🙁
or one example?
Thank you -
AuthorPosts