1. CYBER MONDAY SALE Get Divi.Help Pro Membership @ $99 / lifetime & instantly gain access to all our Divi.Help Pro Membership perks.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed.Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color.
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

DIVI Header Mobile Menu Only

Discussion in 'Basic Support Forum' started by laurenbach, Dec 10, 2022.

  1. laurenbach

    laurenbach Member
    Divi Ultimate Header Plugin

    Hi DIVI Header support-
    I want to change the background color from white to another color only in the Mobile menu not the desktop or tablet. I have this custom CSS and it is not working is there different CSS I should use see this from my past notes and it used to work:

    @Media (max-width: 980px){

    .et_header_style_centered .et_mobile_menu {

    background: #911105;

    }

    The website is https://cicroofingcarpentry.com/.

    Also I had custom CSS to make the logo larger in the mobile view as well but that is not working either see here:

    .et_header_style_centered #logo, .et_header_style_centered .logo_container {

    max-height: 150px!important;

    }

    Let me know. Thanks, Lauren B.
     
    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Replace the default archive "Older Entries" with beautiful pagination:Learn More
  2. laurenbach

    laurenbach Member
    Divi Ultimate Header Plugin

    I think I am having a caching issue on my phone as I can see it in the desktop view. Can you tell me is there custom CSS for changing the light grey mobile menu bar to black only on the mobile view?
     
  3. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    Was not able to view your site due to access denied by country. But you may try the below CSS:
    Code:
    Log In or Sign Up to view this code.
    Though, you should should be able to set the color in Theme Customizer > Mobile Styles > Mobile Menu > Background Color
     
    1. PRO MEMBER PERKS Custom Color Scheme + Premade Layouts - A perfect combination to boost productivity:Try Now
  4. laurenbach

    laurenbach Member
    Divi Ultimate Header Plugin

    I was just referring to the bar that says "Select Page" not entire background header color.
     
  5. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    I see. Here's the CSS:
    Code:
    Log In or Sign Up to view this code.
    And this is the CSS to change the Select text color:
    Code:
    Log In or Sign Up to view this code.
     
    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Beautify your Divi archive / category page with 15 different premade blog designs:Learn More