- Posts: 55
- Thank you received: 0
Signup Module Generating CSS Classes with Numbers appended?
29 Jan 2011 20:26 #687
by kenlyle
It seems that the signup module is generating rather ridiculous class names with 4 digit numbers appended. This means that it's difficult to control elements like the text color in CSS.
I have a site with a dark background, and was running the module in transparency, but the black confirmation text was not readable, so had to make the module bg lighter.
So, there seems to be an assumption that the module will have a light background, which may not always be the case.
Let me know if I've missed something...
Thanks!
I have a site with a dark background, and was running the module in transparency, but the black confirmation text was not readable, so had to make the module bg lighter.
So, there seems to be an assumption that the module will have a light background, which may not always be the case.
Let me know if I've missed something...
Thanks!
Please Log in or Create an account to join the conversation.
25 Feb 2011 13:01 #779
by pete
Replied by pete on topic Signup Module Generating CSS Classes with Numbers appended?
Hello ken,
These class names you're referring to (actually IDs) are needed for the javascript to allow more than one signup modules on the same page. We have added separate classes to each element to allow styling but you are right, the thank you text and error text after submission is missing that. Will be fixed in the next version. In the meantime you can edit the file /modules/mod_mailchimpsignup/tmpl/default.php Scroll to the very bottom to find three div elements.
Add class="mcsignupResult" to the one with id="mcsignupResult
Add class="tryAgain" to the one with id="tryAgain
Then you can use these classes in the css to style the elements.
Kind regards,
Pete
These class names you're referring to (actually IDs) are needed for the javascript to allow more than one signup modules on the same page. We have added separate classes to each element to allow styling but you are right, the thank you text and error text after submission is missing that. Will be fixed in the next version. In the meantime you can edit the file /modules/mod_mailchimpsignup/tmpl/default.php Scroll to the very bottom to find three div elements.
Add class="mcsignupResult" to the one with id="mcsignupResult
Add class="tryAgain" to the one with id="tryAgain
Then you can use these classes in the css to style the elements.
Kind regards,
Pete
Please Log in or Create an account to join the conversation.
joomlamailer uses cookies!
This website uses cookies to provide user authentication and improve your user experience. Please indicate whether you consent to our site placing these cookies on your device. We are not using cookies for marketing purposes. For more information visit our privacy policy
I agree
Copyright 2010 freakedout.de - All Rights Reserved
Joomlamailer.com is not affiliated with or endorsed by The Joomla! Project™, Open Source Matters, Inc. or Intuit Mailchimp.
Any products and services provided through this site are not supported or warrantied by The Joomla! Project, Open Source Matters, Inc. or Intuit Mailchimp.
Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.
Mailchimp® is a registered trademark of The Rocket Science Group.
Joomlamailer.com is not affiliated with or endorsed by The Joomla! Project™, Open Source Matters, Inc. or Intuit Mailchimp.
Any products and services provided through this site are not supported or warrantied by The Joomla! Project, Open Source Matters, Inc. or Intuit Mailchimp.
Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.
Mailchimp® is a registered trademark of The Rocket Science Group.