Home Forums WordPress Donations Widget Styling problem with Donations WP plugin

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3784
    immanence
    Member

    Great 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

    #5563

    Ideally 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;
    }

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.