Tagged: x
-
AuthorPosts
-
May 11, 2016 at 7:16 am #985707
Arthur WParticipantHi
I’ve just noticed an odd problem with my site. I have a top header section and a bottom footer section. These stay full-width. However if I scroll down quickly I get a blank area to the left of the middle section. I corrected this on one page – where I first noticed it – by adding width: 100vw into the css of the page.
I then saw it was a general problem. I’ve tried doing a site-wide CSS as follows:
/* ensure site stays full width */
.site .x-container.width {
width: 100vw;
}However this does not work. What should I be doing.
I’ve taken a screen print to show what happens (test1.png) – the page tested is http://newsite.marketing-intelligence.co.uk/services/research/ – but it happens elsewhere too.
May 11, 2016 at 9:14 am #985868
DarshanaModeratorHi there,
Thanks for writing in! I could not reproduce this issue on my end. Here’s what I see (https://snag.gy/YOnvsM.jpg). Could you please try clearing your site before testing your site again and see.
Let us know.
Thanks!May 11, 2016 at 1:05 pm #986271
Arthur WParticipantHi
I just add a re-look – using Private Browsing and also clearing the cache and it still occurs. So I checked it on both Safari and Chrome and all is OK. It seems to be Browser Specific – I’m using Opera Developer.
In the front page at http://newsite.marketing-intelligence.co.uk I’d put the following in the section style box.
max_height: 100vh; height: 83.5vh; width: 100vw; overflow: auto;
I wondered if the issue was the lack of the width: 100vw CSS code. So I’ve just tested it with http://newsite.marketing-intelligence.co.uk/services/research/ and added in the width: 100vw statement. This works fine whereas the sister page at http://newsite.marketing-intelligence.co.uk/services/training/ still has the problem.
That means I could go through every page on the site and add in width: 100vw into the section style. What I don’t know is how to do a global change for all pages. I tried and failed with:
.site {width: 100vw;
}What CSS should I add to the customiser so that all sections are 100% of the screen width. Hopefully that would fix it.
With thanks
ArthurMay 11, 2016 at 4:20 pm #986599
FriechModeratorHi Arthur,
You can apply your css rule generally to all section by adding this on your custom css
body .x-section { height: 78vh; width: 100vw; }I could not replicate the issue on my end though, would you mind to clarify to us what you’re trying to achieve?
Thanks.
May 12, 2016 at 2:59 pm #988403
Arthur WParticipantThanks – that’s solved it.
On Opera Developer (with the VPN option switched on – not sure if it’s on regular Opera) I found the odd right scroll with the empty space for the section. It didn’t happen elsewhere and so I wanted to make sure that it didn’t happen as I can’t control what browsers people use.
All seems OK now.
May 12, 2016 at 7:32 pm #988723
FriechModeratorGlad we could help, Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-985707 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
