Tagged: x
-
AuthorPosts
-
January 26, 2017 at 7:46 pm #1347169
ylplParticipantHi there,
My website is http://dev.ylpl.net/wordpress
I’m trying to eliminate some padding underneath my radio buttons in my search bar. After checking my CSS and HTML, I’m seeing that my padding-bottom is 0px. However, there’s still quite a bit of blue padding underneath. Is there any way to fix this?
Thanks, I appreciate everything you guys do. You’ve helped me out tons!
Daniel
January 26, 2017 at 10:43 pm #1347275
Prasant RaiModeratorHello Daniel,
Thanks for writing in!
You can add this under Custom > CSS in the Customizer:
.x-search-shortcode input[type="radio"] { margin: 0; }Thanks.
January 28, 2017 at 3:42 pm #1349045
ylplParticipantThank you! That worked perfectly.
In regards to media view on tablets/smartphones, I also tried to eliminate the padding below using this CSS code:
@media (max-width: 552px) {
.x-search-shortcode input[type=”radio”] {
margin:0px;
}
}However, it didn’t seem to change anything. Am I doing something wrong or is there a way to adjust the padding in media mode?
Thank you so much again,
Daniel
January 29, 2017 at 12:03 am #1349320
DarshanaModeratorHi there,
Try updating the above code as follows.
@media (max-width: 979px) { .x-search-shortcode input[type="radio"] { margin: 0; } }Hope that helps.
January 30, 2017 at 11:54 am #1351104
ylplParticipantThanks! So I think my margin is actually at 0. I found out because when I played around and inputted 5, for example, it definitely changed the padding. I think it only looks misleading because I changed my font in media mode to a much smaller 11px. Thank you so much again!
Daniel
January 30, 2017 at 1:21 pm #1351203
JadeModeratorYou’re most welcome, Daniel.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1347169 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
