How to set button state to active on page load

#1

I would have thought that setting a button to active on page load was a simple thing to do-but I’m totally stumped! All I want is on page load I want a button to be set to it’s active state.

Any help would be greatly appreciated!! Thanks in advance :slight_smile:

#2

Hi @Bethany_Pavinich,

Can you elaborate a bit more on your need to have a button be set to active on page load?
(I’m failing to see the need for this but maybe I’m missing something)

On the other hand, Unbounce gives you control over the normal, hover and active states of a button. You can always design your normal state as you would your active so it would appear active.

Best,
Hristian

#3

Thank @Hristian- I just had one of those ‘duh’ moments. All I needed to do was change it so that the button the page appears active (aka change the color). DERP