Tagged: x
-
AuthorPosts
-
June 13, 2016 at 7:39 am #1039504
AitchessParticipantHi
Mycorfu.eu is a one page site. I would like the site to display full width on mobiles but boxed on larger screens. Please can you advise how I can do that? I am using a child theme (in case that matters).
Thank you for your help.
Regards
HelenJune 13, 2016 at 9:17 am #1039637
ThaiModeratorHi Helen,
Please add the following CSS under Customizer > Custom > Global CSS:
@media (max-width: 480px){ .x-container.max.width { max-width: 100%; width: 100%; } }Hope it helps 🙂
June 13, 2016 at 12:12 pm #1039960
AitchessParticipantHi
The above code didn’t seem to do anything. The ‘site layout’setting was set to’fullwidth’ and I added the above code but nothing happened.
I have I have now changed my settings so that the default is now ‘boxed’
Site Layout: Boxed
Site Max Width (px) 1024
Site Width (%) 90
Content Layout FullwidthPlease advise the code that I should now use so that the site layout is fullwidth for smaller screens.
Thank you for your help
HelenJune 13, 2016 at 1:58 pm #1040132
Nabeel AModeratorHi again,
Please replace the previous code with this one:
@media screen and (max-width: 979px){ .site, .x-navbar.x-navbar-fixed-top.x-container.max.width { width: 100% !important; } }Let us know how this goes!
June 14, 2016 at 3:56 am #1041020
AitchessParticipantMarvellous. Thank you.
HelenJune 14, 2016 at 8:24 am #1041362
JoaoModeratorGreat to hear it.
Let us know if you need help with anything else.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1039504 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
