1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.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. Now it works with Divi 5 as well!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. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Logo on mobile doesn't take me to homepage

Discussion in 'Free Divi Community Forum' started by Inge Rosenbaum, Oct 18, 2021.

  1. Inge Rosenbaum

    Inge Rosenbaum New Member

    Hi all, hope I can get some help here.

    The logo of my client's website on desktop is set to inline. However, I've done some tweaking so on mobile it's now set to default and the hamburger menu shows up next to the logo. That's what I wanted to accomplish, so great that it worked.

    However, now clicking the logo on mobile doesn't take me back to the homepage (and as a result there's no easy way to get back home after browsing the website).

    Hope someone can help me with solving this. It's probably an easy fix that I'm missing...

    Thanks so much in advance.

    For reference, the website is: www.anatevkabos.nl
     
    1. PRO MEMBER PERKS Custom Color Scheme + Premade Layouts - A perfect combination to boost productivity:Try Now
  2. Sha On

    Sha On Divi Expert

    Your problem is not with the logo. Everything is working fine. I think that your problem is with the margin that you have used in your logo.

    Try this code and let me know if it is fixed.

    @Media screen and (max-width: 980px){
    #logo {
    float: left!important;
    padding: 0px!important;
    margin-bottom: 0;
    margin-top: 0;
    }
    }
     
    Inge Rosenbaum likes this.
  3. Inge Rosenbaum

    Inge Rosenbaum New Member


    Hi Sha On,

    Thanks so much for your quick help!!

    I've used your code, and still had the same problem ... However, I saw that I also did something weird with the hamburger menu. The old code I used was this one:

    @Media screen and (max-width: 980px) {

    #et-top-navigation {

    top: 50%!important;

    transform: translateY(-40%)!important;

    bottom: auto!important;

    margin-top: 30px!important;

    }

    #logo {

    float: left!important;

    padding: 0px!important;

    margin-bottom: -40px!important;

    margin-top: 20px!important;

    }

    .logo_container {

    max-width: 80%!important;

    }


    I changed the margins like you said to 0. I also changed this line of code " transform: translateY(-40%)!important;" to 0.1%.

    Now indeed I can click the logo again to go to homepage. However, I really don't like how the logo and hamburger menu are not vertically aligned. Any idea how I can solve this?!
     
    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Replace the default archive "Older Entries" with beautiful pagination:Learn More
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    Inge Rosenbaum likes this.
  5. Inge Rosenbaum

    Inge Rosenbaum New Member


    Oh my, this worked. You're a life saver!! Thanks a million!
     
    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Tons of elegant premade sidebar styles to choose from for your Divi site:Learn More
  6. Inge Rosenbaum

    Inge Rosenbaum New Member

    Oops, celebrating too early. Now the dropdown of the menu on mobile shrunk to a small column and is not visible anymore. Please help!
     
  7. Divi.Help

    Divi.Help Administrator
    Staff Member

    1. PRO MEMBER PERKS Divi Block Pro - Premade content toggle design for your Divi site without using any plugins:View Demo