Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #287592
    Martin
    Participant

    I 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/.

    #287634
    Skandha
    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,
    Skandha

    #287636
    Martin
    Participant

    Perfect! Thanks for your quick reply.

    Best Regards
    Martin

    #287641
    Martin
    Participant

    I 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?

    #287643
    Martin
    Participant

    I 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.

    #287646
    Skandha
    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,
    Skandha

    #287647
    Martin
    Participant

    Thanks! Now it is perfect.

    Best Regards
    Martin

    #287662
    Skandha
    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,
    Skandha

    #287740
    Martin
    Participant

    Sorry 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?

    #287792
    Skandha
    Participant

    @mande358: Hello Martin,
    I checked your site and the Menu text is black and visible. Are you still having the issue?

    Kind Regards,
    Skandha

    #287794
    Martin
    Participant

    Sorry, I changed to another theme (DevotePress Pro) because of the problems and other limitations. But thanks a lot for all the good support!

    #287796
    Skandha
    Participant

    @mande358: Hello Martin,
    Do let me know if you come across any issues. Have a good day! 🙂

    Kind Regards,
    Skandha

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Problem with Header’ is closed to new replies.