Can't get navigation text color to change?

Home Forums Jevelin Theme Can't get navigation text color to change?

Home Forums Jevelin Theme Can't get navigation text color to change?

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    RESOLVED Posts
  • heatherruthcreative
    Participant

    Hi.  It seems that no matter what I do, I can’t get the orange in the demo import of the navigation to change to my pink color? (the navigation color after I scroll down and it “sticks” to the top)  I’m sure it’s something I’m missing, but I’ve plugged in this color in all the places I know, and I’m still seeing orange?  Thanks for your help!

     

    http://www.danataft.com/yoga/

    Hi @heatherruthcreative,

     

    I hope you are well today and thank you for your question.

     

    Please try changing it from theme styling active navigation settings as shown in the attached screenshots.

     

    Best regards,
    Shufflehound team

    Attachments:
    You must be logged in to view attached files.

    heatherruthcreative
    Participant

    Hi.  I actually already have that set to the pink that I want it.  So that didn’t seem to be the problem…it was still orange.

     

    But I opened the page in Firefox and did the “inspect element” and found that it was this CSS to change (I’ve added my color hex in there for my site).  This is what seemed to work, if anyone else has any problems!  I just put this in the Custom Code box option on the left:

     

    .sh-header .sh-nav > .current_page_item > a, .sh-header .sh-nav > .current-menu-ancestor > a, .sh-header-left-side .sh-nav > .current_page_item > a {
    color: #ec176e !important;
    }

     

    But it also seems that ALL of the color option boxes don’t always work consistently?  Some seem to be working and others no?  I’ve reset them all and gone back with new colors, and still some seem to work and other not?  There’s no rhyme or reason to it?

    Attachments:
    You must be logged in to view attached files.

    heatherruthcreative
    Participant

    Sorry, for example, another problem…

     

    The navigation all show at the top when on the home page.  But when I scroll down and the navigation “sticks” to the top, two of the navigation words (Buy and Blog) seem to “white out” (see attached screenshot)…why, and how do I fix this?

     

    Thanks!

    heatherruthcreative
    Participant

    Sorry, here are the screenshots again:

    heatherruthcreative
    Participant

    For some reason, it’s not letting me upload the screenshots…

     

    You can see what I mean on my website: http://www.danataft.com/yoga/

    It seems this is happening due to some CSS conflict on your site.

     

    To change all your navigation links to pink color add the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    #page-container .sh-header .sh-nav > li.menu-item > a{
            color: #ec176e !important;
    }

    heatherruthcreative
    Participant

    Thank you.  I used the CSS Code you gave above, and it worked for the pink…but the “white out” is still happening on those two?

    I visited your shared site but didn’t see provided CSS code anywhere in the page or child theme style.css file.

     

    Where have you added it?

    heatherruthcreative
    Participant

    Hi there.  I put it in the Theme Settings -> CSS Code area.  I’m not sure why, but I took it out, and then replaced it in the same area again, and now it is working!

     

    However, it isn’t allowing my rollover colors to work now?

     

    So, just to make sure I’m being clear (forgive me if I have not been prior), on the homepage, I would like the main navigation (since it has a “transparent” background) to be white text, and then upon rollover, to be pink.  And then when I scroll down on the front page, as the navigation “sticks” to the stop, it’s navigation background becomes white, so then I want the navigation text to be pink, and then upon rollover, to be black.  Does this make sense?  I’m attaching screenshots:

    Attachments:
    You must be logged in to view attached files.

    Solution for this topic

    To achieve this instead of above shared CSS code please use the below custom CSS code.

     

    #page-container .sh-header .sh-nav > li.menu-item > a{
            color: #fff !important;
    }
    
    #page-container .sh-header.sh-sticky-header-active .sh-nav > li.menu-item > a,
    #page-container .sh-header .sh-nav > li.menu-item > a:hover{
            color: #ec176e !important;
    }
    
    #page-container .sh-header.sh-sticky-header-active .sh-nav > li.menu-item > a:hover{
        color: #000 !important;
    }

    heatherruthcreative
    Participant

    This worked beautifully, thank you!

    You are most welcome here 🙂

Viewing 13 posts - 1 through 13 (of 13 total)