Tagged: header
-
AuthorPosts
-
September 2, 2016 at 6:14 pm #681433
Hey guys,
To have the menu centered, I started with [Logo center, menu below], then moved the logo to the left and the menu up so that they align on one line. I need some assistance with:
1) The header area still has the size of the original content, a gap below the logo and menu. I’d like the container size to adjust to their height of about 50px.
2) The top bar has some white border lines below and in between the menuitems (only where the header is transparent). Id like to have them removed.
Thanks!
September 6, 2016 at 4:21 pm #682702Hey!
Sorry for the late reply!
I checked your website but could not see any issue in the header. Can you please post a screenshot and show the issues you are seeing? You can upload your screenshots on imgur.com or Dropbox public folder and post the links here.
Very nice looking website by the way!Best regards,
YigitSeptember 6, 2016 at 5:51 pm #682761Hi Yigit,
Thanks, for your reply. I was in the meanwhile able to find a solution to my problem:
1)
#header #header_main_alternate .container {
max-height: none;
height: 5px;
}2)
#header_meta {
border-bottom: 0px !important;
background: transparent !important;
box-shadow: none;
}
#header_main {
border-top:none;
}
#top .av_header_transparency #header_meta li {
border: none !important;
}
That seems to work fine.Cheers!
September 7, 2016 at 8:18 pm #683343Hey Yigit,
Actually there is still an issue with the pages where the header is not transparent.
Please have a look at the ABOUT page for example.
The header is bigger when unscrolled, then shrinks when scrolling down.Is there a way to have that corrected?, maybe always have the content start at y-position 0.0?
Thanks!!
September 10, 2016 at 8:27 pm #684569Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
AndySeptember 12, 2016 at 7:51 pm #685318Hey Andy,
Here you go.
Cheers,
SushiSeptember 13, 2016 at 12:48 pm #685708Hi,
edit your about page, scroll down and look on the right side for “Header visibility and transparency”. Choose “Transparent Header” for example.
Best regards,
AndySeptember 13, 2016 at 4:48 pm #685915Hi Andy,
The header should not be transparent, it should always be the same size as when scrolled down a bit(+ the size of the top bar of course…). When unscrolled, it appears, that the content starts further down than it should.
Kind Regards,
SushiSeptember 14, 2016 at 11:57 am #686292Hi,
go to Enfold->Header->Header Behavior-“>Shrinking Header” and uncheck it.
Best regards,
AndySeptember 14, 2016 at 5:23 pm #686511Hi Andy,
I dont have shrinking header enabled.Think you missunderstand the problem.
I walk you through it:I want a header with custom height 45px, the menu centered (and responsive) and the logo to the left.
Menu and logo should be on one line.To have the menu centered, I started with [Logo center, menu below], then moved the logo to the left and the menu up so that they align on one line.
Now on the transparent header page(welcome page) the content starts at the top.
And on the non transparent pages(all other pages), there is a gap before the content starts which is larger than 45px.This gap is what I want to get rid of, so that the header always has the same size.
Thanks for any advise!
September 16, 2016 at 11:18 am #687389Hi,
not sure what you mean. Can you provide screenshots illustrating what you’re talking about please? use imgur.com or dropbox.
Best regards,
AndySeptember 17, 2016 at 12:01 pm #687908This is how its now: http://imgur.com/k27AyDn
This is how it should be (photoshoped) : http://imgur.com/zhlgd8yScrolled down is already good: http://imgur.com/LGhD4Sb
September 19, 2016 at 2:53 pm #688509Hi,
go to Enfold->Header->Header Layout->Header Size
and choose a custom pixel value.Best regards,
AndySeptember 19, 2016 at 3:12 pm #688527Hi,
No, thats already set to a minimum of 45px.September 19, 2016 at 4:20 pm #688584Hi,
try this code:
.html_header_top.html_header_sticky #top #wrap_all #main { padding-top: 0px; }
Best regards,
AndySeptember 19, 2016 at 4:31 pm #688593Hey Andy,
That didn’t work…September 20, 2016 at 12:09 pm #689091Hi,
try to add an !important:
.html_header_top.html_header_sticky #top #wrap_all #main { padding-top: 0px !important; }
Afterwards clear browser cache and hard refresh a few times.
Best regards,
AndySeptember 20, 2016 at 12:37 pm #689111Hi,
Almost there,
I’d like this to work on all pages except the front page.Regards,
SushiSeptember 20, 2016 at 1:31 pm #689168Hi,
try this code:
.page-id-43 .html_header_top.html_header_sticky #top #wrap_all #main { padding-top: 20px !important; }
and adjust as needed.
Best regards,
AndySeptember 21, 2016 at 1:18 pm #689767Hi,
Your last reply has no effect.
.page-id-43 .html_header_top.html_header_sticky #top #wrap_all #main {
padding-top: 20px !important;
}Thanks,
SushiSeptember 21, 2016 at 1:46 pm #689784Hi,
try this code instead:
.html_header_top.html_header_sticky .page-id-43 { padding-top: 20px !important; }
Best regards,
AndySeptember 21, 2016 at 7:49 pm #689975Hi,
That moves everything down on the frontpage by 20px, and the “top bar unstick” doesn’t work anymore.Regards,
SushiSeptember 23, 2016 at 12:10 pm #690639Hi,
so what about adjusting the padding value? try something like 8px for example.
Best regards,
AndySeptember 23, 2016 at 12:48 pm #690669Hi,
If padding is 0px, the content starts right below the header.
If padding is bigger than 0, it shifts everything down.Its on 100px now, have a look.
September 23, 2016 at 3:41 pm #690842Hi,
ok try this one instead:
.html_header_top.html_header_sticky .page-id-43 { padding-top: initial !important; }
Hope this works!
Best regards,
AndySeptember 23, 2016 at 5:12 pm #690919Hi,
No, this looks exactly like 0px….
Kind regards,
SushiSeptember 23, 2016 at 9:01 pm #691007Hi,
but isn’t that what you wanted? “initial” will make it to the default value. What do you want instead?
Best regards,
AndySeptember 23, 2016 at 11:37 pm #691049Hi Andy,
The header in the front page should be transparent when not scrolled down.
Meaning that the content should start behind the transparent header.Regards,
SushiSeptember 26, 2016 at 1:40 pm #691629and this is exactly what’s happening right now on your frontpage: http://smrtshot.com/i/8RmG
So could you achieve what you want already?
Best regards,
AndySeptember 26, 2016 at 3:13 pm #691726Yeah, but that was during debugging, meaning the padding was set to 0.
Again, I need padding 0px on welcome page and padding 80px ALL other pages.
Right now I use this in this order:
.html_header_top.html_header_sticky #top #wrap_all #main {
padding-top: 80px !important;
}.html_header_top.html_header_sticky .page-id-43 {
padding-top: 0px !important;
}Result: The Welcome page also has padding 80px.
-
AuthorPosts
- You must be logged in to reply to this topic.