WordPress.org

Ready to get started?Download WordPress

Forums

SpeakUp! Email Petitions
[resolved] Display Petition by Default (3 posts)

  1. bfagan
    Member
    Posted 1 year ago #

    Hi Kreg,

    I've upgraded to version 2.4 and so far so good, but would like to display the petition by default, rather than have it be an extra click on the new "read the petition" link. Is there any way to default to the prior behaviour? a flag in the shortcode maybe?

    Thanks,
    Barry

    http://wordpress.org/extend/plugins/speakup-email-petitions/

  2. Kreg Wallace
    Member
    Plugin Author

    Posted 1 year ago #

    There are a couple of ways to do this...

    [1] The "Basic" theme still displays the petition message by default. So, you can go to the plugin's settings page and select "Basic" as your petition theme.

    [2] If you want to use the default style instead of basic, you need to make a few CSS edits... On the Settings page, set your theme to "None (use petition.css)". then copy the default theme's CSS file (located at css/theme-default.css in the plugin folder) over to your theme folder and rename the file to petition.css. Then edit the following styles...

    To hide the yellow 'Read the petition' link, change .dk-speakup-readme to display: none; by changing line 54 from this

    display: block !important;

    to this

    display: none;

    Now, to display the petition, change lines 160-163 from this

    .dk-speakup-petition .dk-speakup-message,
    .dk-speakup-petition .dk-speakup-message-editable {
      display: none !important;
    }

    to this

    .dk-speakup-petition .dk-speakup-message,
    .dk-speakup-petition .dk-speakup-message-editable {
      overflow: auto;
    }
  3. bfagan
    Member
    Posted 1 year ago #

    Kreg,

    Thank you for all the hard work and your prompt response.

    Regards,
    Barry

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.