• Resolved luciact

    (@luciact)


    I use TranslatePress and I want to customize the language switcher. I’d like to change the background color of the block to a dark color. Which CSS file/location do I have to change and where? Could you please help me?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Chiming in: in your case you can add the following css lines (in the customizer):

    For the background color:
    .main-header-menu .sub-menu {
    background-color: [color of your choice];

    }

    For the border color:
    .ast-builder-menu-1 .sub-menu {
    border-color: [color of your choice];

    }

    You may have to add !important between the color and and the ; in both cases.

    Plugin Support Alex

    (@alexcozmoslabs)

    The menu language switcher inherit the CSS of the theme, so you should alter the specific theme’s classes.
    Thank you for your intervention, @raoulunger. We appreciate it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Language-Switcher Custom’ is closed to new replies.