Themable button

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
windsurfer
 
 
Posts: 191
Joined: Mon May 13, 2019 9:15 pm

Themable button

Post by windsurfer »

I have a themeable button that i call Bedroom, the html properties of the image i have inside the tag class="filter bedroom"
In the html section i have // NOTE: each image in the gallery has a class 'filter' with 'all', 'addition', 'bedroom'
In the html tag resources i have $JQUERY$
Double click the button i have
Type: radio button
Name: filter
Value: Bedroom

I doo have more buttons on the page and they all work well
When i change the name of the button to Bedroom 1 for example it won't work.
Is there a way to change the name of the button without it affecting the filter ?
I used to have a photographic memory but i ran out of film !!!
User avatar
Pablo
 
Posts: 23239
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Themable button

Post by Pablo »

You cannot class as custom code , because the button already uses the class attribute itself.
But you can use the 'class' property to use custom class. Note tat this will override the default style!

Also, names should not have spaces as documented here:
viewtopic.php?t=64868
Post Reply