Tagged: x
-
AuthorPosts
-
February 12, 2017 at 3:09 pm #1368103
BasstimgParticipantHi I am loosing the will to live trying to make imoportant sections of my site responsive. I have looked at alot of the forum threads etc and can’t seem to find a useful solution that make a key section look good on all devices. Tonight i discovered i can hide whole sections and was thinking about making 2 for a key area one for mobile and tablet and the other for desktop. Would this slow the site down alot ? is it a wise thing to do or cold there be potential issues ?
February 12, 2017 at 9:30 pm #1368397
LelyModeratorHello There,
Thanks for posting in. It will depend on the content you were adding. If your site is image heavy and you will repeat all those images on different screen view, then yes, it will slow down your site. If not that is fine. Please also take note on improving performance by checking this link:https://community.theme.co/kb/performance/
Hope this helps.
February 13, 2017 at 2:03 am #1368558
BasstimgParticipantThanks for the reponse I suppose this is good as a last resort but aftert thinking about it further it would be ALOT of extra work and i wil have alot of video and image content.
Can i hide text blocks in section ? My thought is i i have 3 texts input and i can hide one for mobile etc it would really help the section look more balanced and even. I have tried doing this within text addon / wodget and the custom code generated did’t do anything (might have input wrong)
I would also like to conpliment this by hiding a buttom for mobile and tablet is this possible ?
Thanks
February 13, 2017 at 3:25 am #1368642
ChristianModeratorThe Text element does not have a Hide Based on Screen Width option but you can use the visibility classes of that feature.
Here are the classes you can use in the Class field of any element:
@media (min-width: 1200px) { .cs-hide-xl { display: none !important } } @media (min-width: 980px) and (max-width: 1199px) { .cs-hide-lg { display: none !important } } @media (min-width: 768px) and (max-width: 979px) { .cs-hide-md { display: none !important } } @media (min-width: 481px) and (max-width: 767px) { .cs-hide-sm { display: none !important } } @media (max-width: 480px) { .cs-hide-xs { display: none !important } }Thanks.
February 13, 2017 at 4:34 am #1368707
BasstimgParticipantThis reply has been marked as private.February 13, 2017 at 4:46 am #1368712
ChristopherModeratorHi there,
Please remove the code that you added in text class filed, you should add
cs-hide-mdin text class field to hide it on tablet.
In previous replay Christian gave you detail to let you know which class targets which screen size ranges.Hope it helps.
February 13, 2017 at 4:56 am #1368719
BasstimgParticipantThanks for explaining thats fantastic and worked a treat 🙂
February 13, 2017 at 4:58 am #1368722
ChristopherModeratorYou’re welcome.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1368103 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
