Tagged: keymaster
- This topic has 11 replies, 2 voices, and was last updated 2 years, 1 month ago by
Skandha.
-
AuthorPosts
-
August 6, 2021 at 12:28 am #287592
Martin
ParticipantI am having problem with the header.
I only want media in the header on the homepage. So in the settings I have only enabled media in header for homepage/frontpage. The result is fine for the startpage but for all others pages there is a big black “image” where the media should have been if I had enabled media in header for the entire site.
I have used Adonis Pro for another site and there I had no problems.
Link to to the site with the problem is https://www.talluddensforlag.se/.
August 6, 2021 at 12:47 am #287634Skandha
Participant@mande358: Hello there,
Go to => Appearance => Customize => Additional CSS and add the following CSS Code.body:not(.home) .custom-header-content { display: none; } body:not(.home) #masthead { background-color: #000; }
Let me know if this works out!
Kind Regards,
SkandhaAugust 6, 2021 at 2:02 am #287636Martin
ParticipantPerfect! Thanks for your quick reply.
Best Regards
MartinAugust 6, 2021 at 3:09 am #287641Martin
ParticipantI would prefer white background for the header (ie change to #fff in your example above). How can I use CSS to change the menu text from white to black for all pages except the startpage?
August 6, 2021 at 4:16 am #287643Martin
ParticipantI now found one problem with your solution. Top part of the page/post name is covered by the black header.
See https://www.talluddensforlag.se/mira-en-sommarkatt/ for an example.
August 6, 2021 at 4:19 am #287646Skandha
Participant@mande358: Hello Martin,
Please use the following CSS Code below instead of the above one.body:not(.home) .custom-header-content { display: none; } body:not(.home) #site-navigation a { color: #000; }
Let me know if this works out!
Kind Regards,
SkandhaAugust 6, 2021 at 4:27 am #287647Martin
ParticipantThanks! Now it is perfect.
Best Regards
MartinAugust 6, 2021 at 6:22 am #287662Skandha
Participant@mande358: Hello Martin, I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review?
https://wordpress.org/support/theme/adonis/reviews/#new-post
Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely
appreciated. Thanks, and if there’s anything else at all that I can do to help, don’t hesitate to let me know. Have a good day! 🙂Kind Regards,
SkandhaAugust 8, 2021 at 8:50 am #287740Martin
ParticipantSorry to bother again. I found one use case where your solution does not work 100%.
When accessing the web page from a smartphone the menu is collapsed and replaced with the clickable word “Menu”. This text is still in white making it impossible to see.
Do you have a magic CSS solution for this also?
August 9, 2021 at 4:34 am #287792Skandha
Participant@mande358: Hello Martin,
I checked your site and the Menu text is black and visible. Are you still having the issue?Kind Regards,
SkandhaAugust 9, 2021 at 4:39 am #287794Martin
ParticipantSorry, I changed to another theme (DevotePress Pro) because of the problems and other limitations. But thanks a lot for all the good support!
August 9, 2021 at 4:50 am #287796 -
AuthorPosts
- The topic ‘Problem with Header’ is closed to new replies.