- This topic has 15 replies, 3 voices, and was last updated 3 years, 5 months ago by
Ying.
-
AuthorPosts
-
November 3, 2022 at 9:50 am #2400385
FunkyCss
Hallo there,
I need to create a page with different menu and for all blog pages, and other logo as well and a background color.
I have seen previous forums that you need a conditionl menu plugin ( Conditional Menus ) for that, so I did and this looks to work pretty ok for my case.
I need your help tho to change my logo also for this specific page and the background color, can this be done ?
November 3, 2022 at 11:39 am #2400494Leo
StaffCustomer SupportHi there,
The page you’ve linked is under maintenance mode – can you disable it for now?
And what background color are you looking to change?
November 3, 2022 at 11:46 am #2400504FunkyCss
Hallo Leo!
Yes I just deactivated,
I will do this menu white.
Thank you a lot
November 3, 2022 at 11:49 am #2400508Leo
StaffCustomer SupportThe logo can be changed with this filter:
https://docs.generatepress.com/article/generate_logo/And the
is_page()conditional tag:
https://codex.wordpress.org/Conditional_Tags#A_PAGE_PageI will do this menu white.
Are you referring to the entire header or just menu items?
November 3, 2022 at 11:56 am #2400521FunkyCss
Hi Leo, thanks for the info
the menu header needs to be white from blue
November 3, 2022 at 2:13 pm #2400633Leo
StaffCustomer SupportTry something like this:
body.page-id-266 .site-header, body.page-id-266 .main-navigation .main-nav ul li a, body.page-id-266 .main-navigation .menu-bar-items { background-color: #fff; color: #000; }November 9, 2022 at 6:26 am #2408065FunkyCss
Hallo this seems to work, can I ask how I can change the logo on mobile too?
This filter seems to work for pc only
November 9, 2022 at 10:16 am #2408661Ying
StaffCustomer SupportI can’t see your site so I guess you are using a mobile header?
If so, the logo in mobile header can use this filter:
https://docs.generatepress.com/article/generate_mobile_header_logo_output/November 9, 2022 at 11:39 am #2408778FunkyCss
Hallo,
I am not using mobile header
I have opened the website
November 9, 2022 at 1:53 pm #2408880Ying
StaffCustomer SupportThen the snippet should work for mobile as well.
November 9, 2022 at 1:57 pm #2408888FunkyCss
But it does not work on mobile
November 9, 2022 at 3:49 pm #2409000Ying
StaffCustomer SupportCan you link me to a page where supposed to have a different logo?
November 9, 2022 at 3:52 pm #2409001FunkyCss
Hi, take a look here https://find-the-missing-piece.com/healthcare-professionals/
Sticky works great, but the main menu has wrong logo
November 9, 2022 at 4:20 pm #2409029Ying
StaffCustomer SupportThe desktop and mobile logos are the same, I thought you said only the mobile logo doesn’t work? I’m confused.
desktop: https://www.screencast.com/t/Q1xwUzvymMg4
mobile: https://www.screencast.com/t/MWtAQiwypZI9November 15, 2022 at 9:06 am #2416849FunkyCss
Hi there,
I am so sorry, But I meant for the sticky logo!
This seems to work perfectly fine but sticky does not change
-
AuthorPosts
- You must be logged in to reply to this topic.