Home Forums Air WordPress Theme Can't change font colour on menu and site identity text when scrolling up

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17977
    MKrow
    Participant
    Purchased
    Expired

    Hi, I currently have my menu and site identity set up with a dark font on a light background and would like to have it reverse when I scroll back up so that the background for the header area becomes dark and the text for both the site identity and the menu become light. I can change the background colour and the font colour for EITHER the menu OR the site identity when they scroll up but the theme options don’t let me change both so one of the two ends up disappearing (ie dark font on dark background) when I scroll up. I’m not having any luck finding out which class or id I could target to control the font colours for the menu and/or site identity when I scroll up. Could you please advise?

    #17986
    SeaTheme
    Keymaster
    Purchased
    Expired

    Hi,

    If you can write javascript, it is easy to change the className of the body tag, change dark-logo as light-logo when it need reverse.

    It should be by custom CSS also, I need to check your website, please leave the site URL if you need more help.

    Regards!
    Bwsm – uiueux.comTwitterFacebook

    #22485
    Akash
    Participant
    Purchased
    Expired

    Hi, did a CSS code work to change the colour of text when scrolling up. Any chance of sharing that if there is a CSS code?

    thanks

    #22491
    SeaTheme
    Keymaster
    Purchased
    Expired

    Hi,

    Please paste the custom CSS code to “Appearance > Customize: Additional CSS”

    .header-scrolled .logo-text { color: #433F3C!important; }

    Regards

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.