Tagged: x
-
AuthorPosts
-
June 20, 2016 at 2:01 pm #1051205
lukasjanParticipantHey!
Button text on smaller screens do not resize properly in one page and go out of button borders. How do I change that?
Thanks,
LukasJune 20, 2016 at 2:01 pm #1051207
lukasjanParticipantThis reply has been marked as private.June 20, 2016 at 3:10 pm #1051330
JoaoModeratorHi There,
Please add the followuing code to Appereance Customizer Custom CSS.
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) { .x-btn, .button , .x-btn.x-btn-x-large { font-size: 1.1em; } }Notice that i target devices between 768px and 1024 which should be the tablets in landscape mode. If you feel the need of applying in a wider range of devices feel free to adjust the code.
Hope that helps,
Joao
June 21, 2016 at 3:36 am #1052147
lukasjanParticipantHello,
Tried adjusting different screen px and your code and it did not change the font size. Your css by itself did not change font on cornerstone medium screen.
Lukas
June 21, 2016 at 4:25 am #1052200
ChristianModeratorPlease remove the code give previously and use
@media (min-width: 768px) and (max-width: 1330px) { .x-btn { font-size: 80% !important; } }You can also use Cornerstone’s Responsive Text feature. See https://cloudup.com/cSLnxP-i7XB (play in Firefox) for demo.
Thanks.
June 21, 2016 at 4:53 am #1052230
lukasjanParticipantThanks! This code worked.
I have one more question.
URL:http://www.mhealth.lt/publikacijos/
I set padding for this essential grid, which looks good on large screens. However, I want it to have paddings on large screens and at the same time be fullwidth (no paddings on left, right) on phone screen for instance. How do I set that?June 21, 2016 at 5:37 am #1052283
ThaiModeratorHey There,
Please add the following CSS:
@media (max-width: 767px){ #esg-grid-4-1 { padding-right: 0 !important; padding-left: 0 !important; } }Hope it helps 🙂
June 21, 2016 at 6:52 am #1052353
lukasjanParticipantThanks, works great!
June 21, 2016 at 8:10 am #1052468
Paul RModeratorYou’re welcome! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1051205 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
