- This topic has 26 replies, 3 voices, and was last updated 6 years, 1 month ago by
Tom.
-
AuthorPosts
-
October 23, 2017 at 5:45 am #408419
Fricis
Hi,
I have some small probs with CSS.
Parently not so good with this))
So I am using:.main-navigation .site-logo.navigation-logo {
position: absolute;
left: 0;
top: 0;}
.main-navigation .site-logo.navigation-logo img {
height: 115px;
}I want, when i am scrolling down:
That navigation img(logo) will be smaller.
So it would look like zoom in zoom out logo)
Thanks!
October 23, 2017 at 8:08 am #408533Leo
StaffCustomer SupportHi there,
You can adjust the sticky navigation height here: https://docs.generatepress.com/article/sticky-navigation/#menu-item-height
This site is using the similar idea.
Let me know.
October 23, 2017 at 8:55 am #408556Fricis
I tried it.
But on customize preview it worked.
After i saved it.
Open website and i have
.main-navigation .site-logo.navigation-logo img {
height: 115px;
}115px size, even if i put before menu item height 90.
It overwrited.
—
I want that when its static : 115px
when its sticky : 90 pxOctober 23, 2017 at 10:42 am #408605Leo
StaffCustomer SupportIf it worked in preview and not on live site is likely a caching issue.
Can you try clearing caching plugin if you are using one?
October 23, 2017 at 10:56 am #408612Fricis
not using
October 23, 2017 at 11:49 am #408643Leo
StaffCustomer SupportHave you removed your own CSS?
Is the effect of this site what you are looking for? It’s done with the customizer.
October 23, 2017 at 1:54 pm #408703Fricis
I removed CSS.
Customize was done by this css:
https://docs.generatepress.com/article/navigation-logo/When You apply this css after i can’t change height in:
https://docs.generatepress.com/article/sticky-navigation/#menu-item-heightSize still will be same what i provide in css.
So i need css code after scrolling or sticky menu starts – it change height)
October 23, 2017 at 4:12 pm #408744Leo
StaffCustomer SupportStill not quite sure what you mean.
You shouldn’t need the CSS to change the sticky navigation height.
Can you set this to something like 50px and let me know? https://docs.generatepress.com/article/sticky-navigation/#menu-item-height
October 23, 2017 at 4:24 pm #408746Fricis
I want Float Navigation Logo Outside Container, but when You slide down – its inside container )
October 23, 2017 at 9:36 pm #408835Leo
StaffCustomer SupportAhh sorry I was confused about what you want before.
Ok can you add this back in? https://docs.generatepress.com/article/navigation-logo/#float-navigation-logo-outside-container
October 24, 2017 at 5:27 am #409042Fricis
Done )
October 24, 2017 at 8:17 am #409198Leo
StaffCustomer SupportChange the second block of CSS to this:
.main-navigation:not(.navigation-stick) .site-logo.navigation-logo img { height: 115px; }
October 24, 2017 at 1:55 pm #409439Fricis
Thanks! You are a star)
I have another issue with this site regarding page header(yeah this site makes me headache)
So if You will choose Jobs and go to any listed link in page, You will see that page header just gone. Menu fullsize etc.
I am using Indeed plugin. 2 weeks ago it worked without any such issue (
October 24, 2017 at 3:28 pm #409464Leo
StaffCustomer SupportWhen you disable Indeed, does the page header show up again?
October 24, 2017 at 4:39 pm #409487Fricis
Yes.
Its even showing up when indeed genarate 1st page, like if you check on Jobs.
But after, if You press genarating links. Header just gone) I know that its not Your fault, just maybe You have some ideas what it can be)
_____Installed the plugin at http://ecscontrols.net/career-opportunities/ the job listings are correct, but clicking on job listing changes the page layout. No longer full-width with content centered, everything shifts to the left and scroll is disabled.
How to enable Page layout? )
-
AuthorPosts
- You must be logged in to reply to this topic.