How do I remove mcsignup from the Module Style

More
30 Jul 2011 00:23 #1848 by ajmsuic24
How do I remove mcsignup from the Module Style? I'm using a Joomla template that has module styles and I would like my MailChimp to use the same module styles provided by my Joomla template.

I tried simply entering the style suffix into the Module Parameters however it doesn't appear correctly on the front end and when I look at the HTML Source Code I can see that the Module is still calling mcsignup class. Its actually trying to read both styles (suffix) mcsignup and the one provided by my template. Which is causing design issues.



joomlamailer version: 1.7.2
Joomla! version: 1.5.23
PHP version:
MySQL version:

Please Log in or Create an account to join the conversation.

More
02 Aug 2011 13:49 #1855 by pete
Hi,

You shouldn't alter the classes/IDs of the signup module since they are used by the javascript to validate the form. However, you can remove the stylesheet that comes with the signup module. Either edit the file: /modules/mod_mailchimpsignup/tmpl/default.php and remove line 23 where it says: $doc->addStyleSheet( JURI::root().'modules/mod_mailchimpsignup/assets/css/default.css' );
You can also edit the stylesheet file and remove everything in it: modules/mod_mailchimpsignup/assets/css/default.css

Please make sure to repeat this after you upgrade joomlamailer since the modified files will be overwritten.

Kind regards,
Pete

Please Log in or Create an account to join the conversation.

More
02 Aug 2011 21:48 #1861 by ajmsuic24
Hi Pete,

I tried both options: edited line 23 on the /modules/mod_mailchimpsignup/tmpl/default.php file and I also edited the modules/mod_mailchimpsignup/assets/css/default.css file and both options did not work. It's acting as if the default.css file is not related.

Thanks,

Please Log in or Create an account to join the conversation.

More
04 Aug 2011 05:14 #1865 by brandonjjon
I would also like to know how to do this. I want mcsignup to use the DEFAULT styling of all other modules. I can delete the line 23 or all the content in default.css but it still doesnt look styled correctly. For example the "Submit" button. Just basic windows 7 style button.

Please Log in or Create an account to join the conversation.

More
09 Aug 2011 12:02 #1870 by pete
In this case your template's stylesheet seems to use additional classes to refer to the different elements. I could only guess what that might be. Please post a link to your site and I'll let you know what you need to do.

Kind regards,
Pete

Please Log in or Create an account to join the conversation.

More
09 Aug 2011 18:36 #1877 by brandonjjon

Please Log in or Create an account to join the conversation.

More
09 Aug 2011 19:07 #1881 by pete
Looks like it works. The input field and the button are styled like other input fields and buttons on your site. Am I missing something?

Please Log in or Create an account to join the conversation.

More
09 Aug 2011 19:12 #1883 by brandonjjon
It's a little different, the text is more to the right and is more black than grey like the header up top. I got it to that point but it's just not quite right. Although I'm not going to be too picky about it. If it is a simple fix than great.. but if it's too complicated than I'm not going to worry about it.

Please Log in or Create an account to join the conversation.

More
10 Aug 2011 00:24 #1884 by ajmsuic24
brandonjjon What did you do to get your form to match your website?

Please Log in or Create an account to join the conversation.

More
10 Aug 2011 00:36 #1885 by ajmsuic24
Hi Pete,

Our site is still under construction and password protected but here's a link to a screenshot of how the Joomlamailer form looks. The fields are missing.

languageatlanta.net/images/Welcome_1312921853497.png

Thanks,
AJ

Please Log in or Create an account to join the conversation.