Hello! Can someone tell me if there is a possibility to style the "Newsletter Signup" which I did place in this RapidWeaver site with inStacks' PulseCMS5 stacks: https://www.weinhaus-hess.com. The stack uses the standard tag {{email-list}} ...
I would like to make this - somehow boring - form more visually appealing (nice CSS-Button and everything a bit bigger) and also want to change the pre-definded texts (see the attached screenshot), for example from "Einschreiben" to "Anmelden". Would changing the styling of the form be possible somehow via manual CSS? To change the text of this form I already looked in the PulseCMS admin settings, but didn't find it. Thanks for any help!
It is possible to style the form using some CSS and to also change the text of the button just by using CSS overrides. The code below should do it for you.
It's quite a 'hacky' way of doing it (especially changing the text), but it works.
Thanks so much, @ezchile, that did work really well indeed! Two questions left…:
How can I change the placeholder-text of the input field (currently “E-Mail eintragen”) to “E-Mail Adresse eintragen”?
The input field and the button don’t seem to be vertically centered, so the button optically appears to be a few pixels further down than the input field. How can I adjust this? I already tried it with margin-settings for the button, but that didn’t work.
To the ‘#contact.pulsecore.email-list button’ style block to vertically align the button better and then tweak as necessary.
I’m afraid that there is no way for CSS to overwrite the placeholder text, you’ll have to locate where it is defined within the RapidWeaver generated source code (I’d search for ’ placeholder=“E-Mail eintragen” ’ and then edit the wording there)
Sadly, I do not own RapidWeaver, so cannot really help more than that though.
Great job @FichtMedia - looks much nicer after @ezchile great ideas and implementation.
To change the Text, change the lang in the lang file as here:
Line 176
$lang_newsletter_placeholder ='E-Mail eintragen';
Here in your Pulse: admin > inc > lang > deutsch.php
If you think this needs to be changed so it reads better then please make any amends to the above German and we can ship that. Or if it’s just for this project, please change the lang file for this. @Oliver and @instacks have also contributed to that file So would like any direction on it.
@ezchile Thanks so much! The positioning now looks much better. @pulsecms Thanks, that worked flawlessly. Since I would have to do this after each update to PulseCMS it would be great if this could be directly be changed in the language file. My “translation” is not special for this site or use case, but in my opinion better suited than the current one. Maybe I’m a bit pedantic, but for me “E-Mail eintragen” is not really correct. An “email” for me is the email text-content. But what should be input there is the email address. So my suggestion would be to simply use “E-Mail Adresse” for the placeholder, since this is exactly what should be typed in there. I would also change the button-text from “Einschreiben” to “Anmelden” as the default, but that’s just my personal taste (and can easily be changed with the code provided by ezchile).
@pulsecms As you’re saying by yourself that this “looks much nicer”, maybe you could add this better styling to the newsletter signup by default in some future update…
So I personally wouldn’t worry so much about the styling and the text, but rather about the fact that you shouldn’t use this e-mail tag in germany.
Keyword -> Double-Opt-In (and additionally the addresses are unencrypted on the server).
Or do you/they contact the users manually if they really want to be added to the list, then I didn’t say anything, but very complex.
The e-mail list certainly has its right to exist, but not in germany, only my opinion.