Styling a button

This topic contains 2 replies, has 2 voices, and was last updated by  Gregory Ofori 10 months ago.

Author Posts

Gregory Ofori

Hi there.
I would like to apply some styling to a button, but every time I select the button, even with targeting ON, microthemer follows the link to the next page instead of just selecting the button to style.

How do I get around this issue?


Sebastian

Hey Gregory,

The button probably has some JavaScript behaviour attached to it which sends you to another page when you click it. And unlike regular links and form buttons, Microthemer can’t block that. So the trick is to select it without clicking it. When hovering over an element, simply hit the Alt key (Windows) or Option key (Mac), instead of clicking.

Another option – if you expand the inspection panels using the “Inspect” option at the bottom left, you can click on the lines of HTML to select elements. Or use the breadcrumb controls in the footer bar below.

Cheers,
Sebastian


Gregory Ofori

Thank you, this resolves the issue.

You must login or register to reply to this topic.