WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Display Petition by Default

[Resolved] Display Petition by Default

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kreg

    @kreg

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

    Kreg,

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

    Regards,
    Barry

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Display Petition by Default’ is closed to new replies.