Home › Forums › WordPress › Donations Widget › Styling problem with Donations WP plugin
- This topic has 1 reply, 2 voices, and was last updated 12 years, 6 months ago by
S H Mohanjith.
-
AuthorPosts
-
December 3, 2010 at 05:59 #3784
immanence
MemberGreat plugin, but it’s not playing well with my chosen theme, and I’m not proficient enough in WordPress to resolve the issue, so I need help.
Basically, I’m using a free theme called Academica, and I want to use the Donations plugin. All well and good, but it seems the Academica theme css is overtaking what would be the natural styling of the plugin.
So, instead of having a box around the value to be donated, there is no box and it looks weird. It’s not obvious that the amount to donate can be edited.
In my style.css for the theme, I can create a box around the amount, but this means screwing up the rest of my theme. What I need is a solution for just creating a box style around the donation value. Or, creating a new element within the style.css that can serve the Donations plugin.
I’m stuck on both counts.
Here is my sandbox site where you can see the problem: http://cgga.org/WP
Here is a pastebin of my style.css: http://pastebin.com/iGqxaZM3
Here is what I attempted to do in the plugin itself (it didn’t work):
<label ><?php print $currency; ?> <input type=”text” name=”amount” value=”<?php print $amount; ?>” size=”3″ style=”border: 1px;” /></label>
<input type=”hidden” name=”currency” value=”<?php print $currency; ?>” />
If anyone can help I’d be most obliged.
best wishes,
ian
December 4, 2010 at 16:43 #5563S H Mohanjith
MemberIdeally you shouldn’t change core files. I just released 1.0.2 which adds css classes to form tags. You can add the following to your style.css
form.payment_form input[type=text] {
border: 1px solid;
} -
AuthorPosts
- You must be logged in to reply to this topic.