Tagged: x
-
AuthorPosts
-
May 15, 2016 at 8:19 pm #992866
QCHFSParticipantIs there a way to adjust the mobile view that will not be reflected by tabletop/Laptop view? If I adjust the margins to look good on mobile, the other is too wide.
http://www.quadcityhomesforsalenow.com/contactMay 15, 2016 at 11:00 pm #992981
RupokMemberHi there,
Thanks for writing in! You can use media query to set CSS for mobile only :
@media only screen and (max-width: 767px) { // write your mobile specific CSS }Hope this helps.
Cheers!
May 17, 2016 at 8:44 pm #996499
QCHFSParticipantI’m sorry for being so ignorant. I’m a self-taught programmer. What more should I write regarding // write your mobile specific CSS
May 17, 2016 at 11:58 pm #996756
RupokMemberHi there,
As you didn’t specify your problem so it’s not possible to provide a tailored answer. However you can try this :
@media only screen and (max-width: 767px) { body #gform_wrapper_5 .gform_body .gform_fields .gfield textarea { max-width: 100%; width: 100%; } body #gform_wrapper_5 .gform_body .gform_fields .gfield input[type="text"], body #gform_wrapper_5 .gform_body .gform_fields .gfield input[type="email"], body #gform_wrapper_5 .gform_body .gform_fields .gfield input[type="tel"], body #gform_wrapper_5 .gform_body .gform_fields .gfield input[type="url"], body #gform_wrapper_5 .gform_body .gform_fields .gfield input[type="password"] { max-width: 100%; width: 100%; } body #gform_wrapper_5 .gform_body .gform_fields .gfield select { margin: 5px auto; } body .gform_wrapper .gfield_label { display: none; } }You have added too much unnecessary CSS to modify the margin and width that’s actually breaking this styles. If you don’t aware of them, let’s minimize them. When you add any custom code to your site, make sure you know what you are doing to avoid potential conflicts.
Hope this makes sense.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-992866 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
