Home Forums Pro Themes WEN Travel Pro Change of colour on homepage only

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #157251
    Vanille
    Participant

    Hello,

    I want to change my primary menu colour but ONLY on the homepage.
    I need to change it to #ffffff
    I tried :
    body.home #menu-wrapper {
    color: #ffffff!important;
    }
    I also tried :
    .page-id-27 #menu-wrapper {
    color: #ffffff !important;
    }
    but none worked.

    My URL is : https://vanillehypnose.com/
    Help please!

    #157255
    Psink
    Keymaster

    hello @VANILLE, is it the menu background color or menu text color that you want to change?

    If it’s a background color, Please add this CSS

    
    .home #masthead{
          background-color: #fff;
    } 
    
    
    #157266
    Vanille
    Participant

    Hello @PSINK, no I just want to change the colour of the letters of my menu but just on the homepage, I like the background and want to keep it.

    #157359
    Psink
    Keymaster

    hello @VANILLE, Please add this CSS

    
    .home #primary-menu .menu-item a{
    	color: #fff;
    }
    
    #157425
    Vanille
    Participant

    Hello @PSINK,
    Thank you so much! That is perfect!
    Have a great day!

    #157429
    Vanille
    Participant

    Last question :
    Where it says “Vanille …” on the homepage, I am trying to thin the font by adding in the CSS :
    .home #post-27 .fl-module-rich-text {font-weight: 80;}
    but it doesn’t work.
    Can you help please?

    #157470
    Psink
    Keymaster

    I have check the font, I guess we can’t make it thinner because it is the minimum default size of that font

    #157697
    Vanille
    Participant

    Ok, Thank you very much @PSINK

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