Widget style border-radius
-
Hey there,
thanks for the awesome Mailchimp service and the great plugin!
We’re using the widget on our site in the sidebar, e.g. here (scroll down a bit): http://www.studienstrategie.de/konzentration/biorhythmus-leistungskurve/
I’ve designed it a bit, but I can’t figure out how to change the shape of the box. I’d like it to appear rounded with border-radius:15px – how can I do that?
Thanks in advance!
Kind regards
KargoPS: I’m familiar with HTML and CSS.
-
Hi there Kargo,
Thanks for posting! In order to edit the shape of the box, you’ll want to add the border attribute into the
#mc_signup_form
CSS. With my testing, I was able to get the border rounded for my test widgets by going into themailchimp_widget.php
file of the plugin, locating the<style>
tags directly preceding the form code itself and adding the following:#mc_signup_form {
padding:5px;
border-width: 0px;
border-style: solid;
border-radius: 15px;
border-color: #000000;
color: #FFFFFF;
background-color: #aaaaaa; }That gave me a form with a gray background and 15px radius rounded corners. You can use that code and tweak the colors and border settings as needed. 🙂
Let us know if there’s anything else we can assist with! Have a great day.
-Kath
Hey Kath,
thanks a lot for your quick reply. But unfortunately I can’t find mailchimp_widget.php – where should it be located? It’s not in the plugin folder 🙁
Kai
I take it all back, found the file!
Didn’t know that there are actually two plugins:
- Mailchimp
- Mailchimp for WordPress Lite.
The right file can be found in the first one, just add Kath’s code right below the <style>-tag and edit as needed.
Again: thank you very much Kath!
- The topic ‘Widget style border-radius’ is closed to new replies.