Add a String to a WC Button
-
Hello everyone!
I’m trying to add an overlay via a plugin to the following CSS string:
.woocommerce-page.et_pb_button_helper_class a.button
However, all the woocommerce buttons are trigger overlays because the string for them are the same. I therefore need custom coding to isolate this button to add the new string.
For example, I’m looking to add an ID to the cancel button:
#cancelbutton
The new string will look like:
#cancelbutton .woocommerce-page.et_pb_button_helper_class a.button
I think I can achieve this by writing a custom function snippet and adding it to my functions file, yet I’m not proficient enough to do this although I imagine it shouldn’t be very difficult?
Does anyone have suggestions prior to hiring a developer for something that likely wouldn’t take too long?
Thank you!
Joseph
The page I need help with: [log in to see the link]
- The topic ‘Add a String to a WC Button’ is closed to new replies.