cancel
Showing results for 
Search instead for 
Did you mean: 

Blox - Action button - Hover options

DamianC
8 - Cloud Apps
8 - Cloud Apps

Hi All, 

A small thing, I hope you can help with. 

When changing the colour of an action button in Blox the hover settings disappear, i've scoured online to see how to write this back into the config but not had any luck. 

trying to go from blue to light blue on hover: 

{
"type": "ActionSet",
"actions": [
{
"type": "Filters",
"title": "Apply",
"style": {
"backgroundColor": "blue",
"button:hover": {
"backgroundColor": "#lightblue",
"transition": "0.7s"
}
3 REPLIES 3

Harry
9 - Travel Pro
9 - Travel Pro

Hello @DamianC ,

You can add hover effect to Blox button by adding CSS in "style" key as below

"style": ".blox-slides button:hover{background-color:red!important}",

Harry_0-1668680068427.png

Blox script for Action button would be

{
                    "type": "ActionSet",
                    "actions": [
                        {
                            "type": "Filters",
                            "title": "Apply",
                            "style": {
                                "backgroundColor": "blue"
                            }
                        }
                    ]
                }

 

Please let me know if you have any questions

 

Always here to help,
Harry from QBeeQ

QBeeQ - Gold Implementation and Development Partner
www.qbeeq.pl

DamianC
8 - Cloud Apps
8 - Cloud Apps

Thank you Harry, worked a charm 

Premkumar
7 - Data Storage
7 - Data Storage

Hi Harry,

Same way, can we achieve changing BloX pressed state button color in the style property. please do the needful.

Regards,

Premkumar S