Tagged: x
-
AuthorPosts
-
June 29, 2016 at 8:19 am #1064823
hrachovecParticipantHello:
I am trying to close a gap that appears near the top of my browser window. I think it’s caused by the height of the navigation bar.
I’ve made an attempt to fix it using the
positionCSS rule, but that shifts only one part of my layout up and creates a new gap further down. Please see this Evernote for a description of what I mean:https://www.evernote.com/l/AASO-Nm6l7VNw6lI7vWVXFrNXT2ECamVAVM
The page in question is here:
http://certeco.co.uk/new/category/events/
Any ideas?
Cheers, Russell
June 29, 2016 at 9:01 am #1064906
ThaiModeratorHey There,
Please add the following CSS:
body.x-navbar-fixed-top-active .x-navbar-wrap { height: auto; }Hope it helps 🙂
June 29, 2016 at 11:46 am #1065119
hrachovecParticipantYes, that’s great. Thanks!
June 29, 2016 at 12:14 pm #1065178
DarshanaModeratorGlad we were able to help 🙂
June 30, 2016 at 12:44 pm #1067024
hrachovecParticipantHello:
Maybe I spoke too soon. It was working yesterday but it’s not today. I checked the CSS and the rule is still there. But when you load a page, the image doesn’t appear below the transparent navigation bar. If you scroll slightly, it’ll jump up and look correct.
I tested on 2 machines and am seeing this. Any ideas?
R
June 30, 2016 at 3:11 pm #1067252
JoaoModeratorHi There,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks
Joao
July 1, 2016 at 4:40 am #1068131
hrachovecParticipantThis reply has been marked as private.July 1, 2016 at 6:54 am #1068237
Paul RModeratorHi R,
To fix it, you can add this under Custom > Edit Global CSS in the Customizer.
.home .masthead { position:absolute; width:100%; }Hope that helps.
July 1, 2016 at 11:12 am #1068554
hrachovecParticipantThanks, but I’m afraid it hasn’t done anything. I’ve got the 2 CSS rules from this thread at the top of my stylesheet but the problem seems to remain. Are you seeing the image appear behind the navbar when the page loads?
R
July 1, 2016 at 11:17 am #1068556
JoaoModeratorHi There,
It seems it have worked
Please clean your cache and try it again.
Thanks
Joao
July 6, 2016 at 10:49 am #1074972
hrachovecParticipantHi Joao:
I’m really sorry but this is still not working. I’ve gone to a machine which has never been on the site, I’ve cleared the cache and I’m still getting the problem. My client has picked up on it too on their machines. I realise they may not have cleared their cache, but I’ve done so several times on 2 different machines and I’m experiencing the error.
I’ve put some screenshots here: https://www.evernote.com/shard/s4/sh/ee4c99fe-0fe4-4a3f-8327-615e999f12a1/a473e8e5c9713de3821d795ce60fc126
Any ideas?
Cheers, Russell
July 6, 2016 at 12:46 pm #1075134
JadeModeratorHi Russell,
Please try to add this code:
.page .masthead { position:absolute; width:100%; }Hope this helps.
July 7, 2016 at 4:45 am #1076192
hrachovecParticipantHi there:
Yes, that seems to have done the trick. Thanks!
R
July 7, 2016 at 7:14 am #1076340
Nabeel AModeratorGlad we could help.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1064823 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
