02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

Customizing the MailChimp WordPress Widget.

Customizing the MailChimp WordPress Widget. In this video we will improve the visualizations of our widget.

Video Transcript

00:00and the last video we integrated our widget but we really have too much information here what I
00:04want to do is try to get rid of some of it. So I'm going to go back into my editor but this time
00:09around I'm going to go back into the actual into the settings because I want to go into the mail
00:14chip setup. In my mail chip setup that's where I control everything related to my widgets.
00:20So I'm going to scroll down and I'm just going to make sure that I'm not going to add the valid
00:24until I'm not going to add the last name I'm not going to add the first name. I'm going to
00:29update the subscribe settings. Once I do that that's really all I had to do to quickly and
00:35immediately update the visuals by getting rid of some of the extra information that just took a
00:40lot of space. The next thing that I want to do is I might want to make sure that to to actually go
00:47through in a much cleaner way such as maybe subscribe for zero to gig maybe join our listing
00:55um get um join our listing because they're in our site already maybe the sub header could
01:04be something of the level of um maybe we want to have your some sort of element that basically
01:10tells them um when exclusive um exclusive exclusive tips tricks discounts and free invites to our
01:28courses. We're going to save that up and we could go back into our pager and just see that everything
01:39looks relatively decent. We're going to click on refresh there and we're hoping to see um join our
01:45listing exclusive tips tricks discounts and free invites to our courses that looks relatively
01:49good to me as a basic start. Really the only thing I would love is to get rid of this HTML
01:54text mobile because it's taking a lot of space. So if I scroll down here and I kind of search
01:58for it um custom styling um turned on and here really all the rest of the control that I have
02:08here is control that's kind of more specific to to um to the actual visuals and the CSS. So maybe
02:16if we go in here and for example let's say uh text color border color background color all these are
02:21good stuff um but I don't have your really a lot of if I turn off the control custom styling
02:28and I update subscribe setting and I go for that default values without having any any control over
02:34it let's see what would happen. So you can see that there's actually we get rid of all that extra
02:38skinning and all that extra information and personally to be honest I kind of like this
02:42I like this a lot if I could just get rid of this oh so I'd be really happy because it's cleaner
02:47it's more simple um there's we basically got rid of uh a lot of these extra styling information
02:54or custom styling. So you might be unhappy like me that you just don't want to give that option
02:59of the preferred format or the other way around maybe you want it to be there but it's not there
03:04so I want to show you how to get rid of it one way we said is you could actually add CSS and make
03:09this actual element uh hidden so in this case the preferred format if we go into the um inspect
03:16firebug um just for the sake of of doing this example I could have if I was a developer which
03:21I am but if you were in the developer it might be a little bit harder you can just go inside and
03:25make sure that the merge row was hidden in that CSS basically it would load it in but it would
03:30never be seen so the default would always be html the better way to do it is to go into your list
03:36itself and actually go to your list itself and now if you by default just don't want to give that
03:41option go into your settings in your list into the list names and defaults and then the list names
03:47and defaults just make sure that let users pick uh text or html alternatives is disabled once you
03:54do that just click on save and once you save it you could go back into your application but
03:59this time around we're going to go into our list and refresh our list so we're going to click on
04:03update list once we click on the update list and our updated list has been loaded in all that's
04:10left for us to do is maybe save it one last time and then we'll be ready to test it out and see if
04:15it's working so we're going to click on refresh here and hopefully we'll get rid of that and we
04:21just did now obviously our formatting is a little bit off and we probably would want to change and
04:25play around with our layout but at this stage i i personally would prefer to do this stuff in css
04:31and not depend on um on the wordpress plugin because i would have a lot more flexibility and
04:36control such as maybe making the subscribe button more noticeable maybe dropping the space between
04:41our exclusive tips and tricks so for example if i just show this as it is a small example
04:46so um this element itself we might uh if we had our css here so i basically would copy this
04:54and basically go into my actual um css um and actually go um if i would find the actual file
05:01where that css is at or i could just do a inline styling so if we were working with a live document
05:08i could have gone into basically edit my html and by the way every edit that i'm going to do
05:13right now is not going to actually affect anything in the real application but if i type
05:17your directly in the file style and then i change the style such as margin top and maybe
05:23i'll do this minus 10 px and i refresh my application you'll see that basically as soon
05:29as i do that our text is going to get closer and closer to where we actually want it to be
05:33and for me that maybe looks much better and i might want to also maybe do a margin bottom
05:39but for this one i want to maybe add another 10 pixels to give it a little bit more space
05:43and i might want to do the same also for the html now notice that because i'm doing this with
05:47firebug this isn't even actually saved into our application this is really temporary so if you do
05:54know html in css which i encourage you to know and take our courses on it then you would just
05:59update your css of your style and add specific configurations to make your list look better but
06:05for now this is will will complete our lecture and our talk about how to set up your um setup
06:11forms so we saw how to build using the built-in milchip option we've seen how to actually
06:17integrate a form and now we've seen also how to actually add a form using widgets inside of wordpress

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!