Okay
  Public Ticket #2268297
Second Header
Closed

Comments

  • Aleksei started the conversation

    Hi! I have two questions for the second header.

    1 - Is it possible to make it stay visible all the time? Normally when the user scrolls the second header hides and we are left only with the main menu visible, is it possible to make it be always on top of the main menu even if people scroll?

    2 .- I am using the WordPress Multilanguage plugin. I have the change language button on the second header but the font is too small. I read it uses the defined settings for the fonts on the theme but I don't see any option to change the font text on the second header in the salient options, only the navigation fonts but it only affects the main menu. How can I change the secondary menu font and size?

  •  8,403
    Tahir replied

    Hey Again,
    1. No i am afraid there is no such option available for the Secondary Header.
    2. Please provide the page url so that i can write up the custom css for whats possible.

    Thanks


    ThemeNectar Support Team 

  • Aleksei replied

    Thanks Tahir!

    https://ayahuascaretreat.pe/


    Can that work too to make the social media logos bigger too?

  • Aleksei replied

    I found a CSS code that makes the language switcher bigger but I was putting it in the plugin instead of the theme options. I tried to add it in the theme options and it works so never mind about that. 

    I do need to make the social icons bigger in the second header and in the footer but not the same size. Is this possible? Or do they have to be the same size?

  • Aleksei replied

    I think I might still need help with the WMPL language switcher.

    They say that the language switcher uses the theme default fonts schemes. I need to be bigger on the second hader but the theme has no options for the font on the second header. I found this code on their forums: 

    .wpml-ls-menu-item .wpml-ls-flag+span {
    font-size:15px;
    letter-spacing:0.8px;
    font-weight:500;
    }

    It changes the font on the switcher at the menus. The problem is that this is supposed to go on the plugin custom CSS field. If I use there it doesn't work. If I put it on the Salient Theme Options in the custom CSS field it works but it also changes it on the Footer menu. I want to change only the font in the secondary header, not the footer. 


    Another issue I come across is that on the footer menu the flag and the language are not aligned. 

  •  8,403
    Tahir replied

    Hey Again,

    Try using like below so it only applies to the Secondary Header.

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    div#header-secondary-outer .wpml-ls-menu-item .wpml-ls-flag+span {
        font-size: 15px;
        letter-spacing: 0.8px;
        font-weight: 500;
    }

    Thanks


    ThemeNectar Support Team 

  • Aleksei replied

    Works perfectly, thanks!

    How can I make the social media icons on the second header bigger?

  •   Andrew replied privately