- This topic has 18 replies, 2 voices, and was last updated 5 years, 8 months ago by Leo.
-
AuthorPosts
-
June 8, 2018 at 11:38 am #595447Ivan Cazorla
Hi there:
I have a bunch of Page headers configured in my site with custom a custom logo (in white) to make a more beautiful header. The things is that in mobile it loads the original logo that i have set in the customizer for the website (which is dark). For all the other pages the black logo is okay but when I’m making a page header with the custom logo in white I would like it to keep that same logo in mobile. Is that possible?
Thanks,
IvanJune 8, 2018 at 6:11 pm #595635LeoStaffCustomer SupportHi there,
Any chance you can link me to the page in question?
June 9, 2018 at 1:43 am #595795Ivan CazorlaFor sure! It happens in all the page headers I have configured, but one of them is for example the home page. Link here: https://ivancazorla.com
I had to put a white background so that it mobile you can see the black logo.
In theory the logo should be always white as you can see in desktop and tablet, because Iβve set it up on the page header custom logo.
Thanks,
IvanJune 9, 2018 at 8:55 am #596040LeoStaffCustomer SupportTry disabling the mobile header option:
https://docs.generatepress.com/article/mobile-header/June 9, 2018 at 10:35 am #596126Ivan CazorlaIt works, but… It’s not looking the same as it was. I want the logo to be at the left and the menu toggle at the right, as if I had the mobile header option activated.
Is that possible?
Thanks,
IvanJune 9, 2018 at 11:49 am #596168LeoStaffCustomer SupportAhh I thought you are using the navigation as header method:
https://docs.generatepress.com/article/navigation-logo/#navigation-as-headerTry that first, then you can use the same thing in page header navigation logo:
https://docs.generatepress.com/article/page-header-logo/#navigation-logoThen it should work π
June 9, 2018 at 3:29 pm #596281Ivan CazorlaHi there,
It kinda works but I guess it’s not that much intuitive and functional. Also I didn’t wanted to have a sticky header, is it possible to have it as a normal navigation header (no sticky)?
I’d also like to disable the logo change of width animation when it becomes sticky.
thanks,
IvanJune 9, 2018 at 3:45 pm #596292LeoStaffCustomer SupportNot sure what you mean? I don’t see the solution being implemented.
It has the exact function of what you have right now but better for your need to use the page header logo.
Sticky navigation isn’t required.
June 9, 2018 at 4:00 pm #596300Ivan CazorlaHi there, I have followed the instructions on the links you gave me and it tells me to activate the sticky + static navigation Logo Position. Then set my sticky navigation transition to none and removed the site header with:
.site-header { display: none; }
After this I can change the navigation logo in the page header, all correct.
But then it doesn’t look like the “old” header I had. The logo makes an animation of growing when scrolling down and the header has lost the width and padding that it had. Upate: okay I understand I don’t need to activate the sticky navigation since I don’t need it.
As it didn’t looked out as I wanted I redo what I did and kept it as before but I’ll do it again so you can see how it looks.
Let me know, link here: https://ivancazorla.com/
I’d like to have a generic header with a grey background for all normal pages like this one (https://ivancazorla.com/test/) and then for individual pages use the page header and make the header transparent but still make it transparent on mobile and with the same custom logo.
Still appears the normal header in mobile version instead of the new one we’ve created using navigation as a header.
thanks,
IvanJune 9, 2018 at 8:49 pm #596377LeoStaffCustomer SupportTo achieve what you have before, try setting the navigation width to full:
https://docs.generatepress.com/article/navigation-layout/#navigation-widthIncrease the navigation height:
https://docs.generatepress.com/article/menu-item-height-width/Currently I still see the black logo so looks like you haven’t uploaded a white logo as the page header navigation logo:
https://docs.generatepress.com/article/page-header-logo/#navigation-logoThen you can apply custom navigation colors (transparent) for this page header:
https://docs.generatepress.com/article/merging-the-page-header-site-header/#custom-navigation-colorsFor all other pages without this page header, the navigation color can be set in Colors > Primary navigation.
Lastly, you still have mobile header option turned on so it’s still using the mobile header logo:
https://docs.generatepress.com/article/mobile-header/Please make sure to complete all these steps then it should work π
June 10, 2018 at 11:45 am #596795Ivan CazorlaAlright, thank you for being so clear. Everything works now. π Really appreciate it.
The only thing that I have now is that in mobile, in the home screen for example (as I am suing a page header) when I click on the menu the header becomes white background instead of keeping it transparent. Is there any way to get rid of that?
Thanks,
IvanJune 10, 2018 at 3:03 pm #596867LeoStaffCustomer SupportHmm try adding this CSS:
@media (max-width: 768px) { .generate-merged-header .main-navigation { background-color: transparent; } }
June 10, 2018 at 3:09 pm #596869Ivan CazorlaSweet! It works but only on the page header from the home page. Is it possible to activate this in all the page headers?
thanks,
IvanJune 10, 2018 at 3:12 pm #596874LeoStaffCustomer SupportEdited the CSS above.
June 10, 2018 at 3:14 pm #596875Ivan CazorlaYou’re awesome, everything looks perfect!! Thanks so much!
Case resolved. Have a great day π
-
AuthorPosts
- You must be logged in to reply to this topic.