Flip card Issue with class ID

Hi there,

I would like to link a button in a flip card element to an opt-in form using a class ID. However in attempting to do so, I am not getting the desired result. It seems as though with the flip cards, you can only assign class ID to the container itself and NOT the button. Is this true? Is there anyway to assign the a class ID to the button itself and not the whole container?

Hi,

Yes that’s correct, the class is being added on the parent container and not on the button itself.

As a workaround, you may disable the back button and add the button on the content itself using the code below.

<a class="my-button" href="#">Click Me!</a>

Add my-button as trigger for your optin form and add the code below in Theme Options > CSS

/* my-button style */
.my-button {
    color: #ffffff;
    background-color: #744288;
    display: inline-block;
    padding:10px 20px;
}

Hope that helps

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.