- This topic has 1 reply, 2 voices, and was last updated 13 years, 6 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › css für Button Image URL
Tagged: Button Image URL, checkout button, css
Hello.
I put in my product page http://www.welldex.de/beauty/abnehmen/ 3 times the code [wp_eStore:product_id:3:end] without an url for the “Button Image URL”, so I get the gray “add to cart – button” as you can see on the page (German “In den Warenkorb legen”).
Because I want to use this button in my template style “class=”art-button” (you see it in the search-button top left) I would like to know, where I can give this type of button the class=”art-button” in your plugin.
Could you tell me this?
Thanks a lot in advance!!!
best regards
Peter
First lets try to handle this via CSS rather than modifying the PHP code to use that CSS class.
Every eStore button has a class attached to them. So all you need to do is add CSS code for this class to make it look like the other one.
In your case the eStore buttons have the “eStore_button” class attached to them. So what you can do is add the following in WP eStore’s CSS file:
.eStore_button
{
//paste the CSS details from the "art-button" class here
}
This will make “eStore_button” class look just like “art-button”. Let me know if that makes sense.