Like our free content? Then you'll love our exclusive Club!
Divi Academy Membership gives you exclusive access to over 110 resources, including child themes, layouts, cheatsheets, tutorials, live training and member perks. And new content is added EVERY Monday!
I was asked to write this Quick Snack by someone in the Divi community as they have seen it asked several times and it seems to be a bit of a sticking point. So today I am going to show you how to make the logo bigger on mobiles and tablets.
Now I know there is a long standing joke amongst web designers about clients asking us to make the logo bigger, so let me just clarify: this is just for mobiles and tablets ![]()
So let’s get cooking!
Cooking time
This should take you around 5 minutes max.
Preparation
There is really no preparation for this quick snack, its just a small snippet of CSS.
Method
All you need to do is add the following CSS snippet to your Child Theme stylesheet or the Custom CSS box in Divi > Theme Options and adjust the height and max-height values until you get the size you want.
@media only screen and (max-width: 980px) {
#logo {
height: 100% !important;
max-height: 100% !important;
width: auto;
max-width: 100% !important;
}
}
Some points to note:
- I think the main reason people have trouble with adjusting the size of the logo is because they don’t realise that elsewhere in their code, a max-height limit is being set. So if the max-height is set at 50% and you are trying to make the logo height 80%, you’re not going to see any change. What we are doing here is overriding the max-height settings that are placed elsewhere.
- Make sure your max-height value is the same or larger than your height value or again you won’t get your desired outcome.
- Make sure your logo image file is large enough to display at your desired size or its going to get blurry.
- If you just want a larger logo on mobile then you can adjust the media query max-width value down to something like 480px instead of 980px.
And that’s it. Enjoy!.
If you found this helpful please leave a comment and subscribe to my newsletter for all my latest Divi related content. ![]()
Michelle X





Sooo bookmarking this site. Thank you! Worked like a charm.
Hi Michelle! This tip worked like a charm! Thank you so much! I have a new problem now however. My mobile menu did not shift down when I made the mobile view logo bigger, thus they no overlap. Do you perhaps know how I can fix this please?
You may need to decrease the value/size depending on your logo
For me code made logo full width on mobile, however it’s vertecally stretched.. How can I fix it and make it proportional?
Just adjust the value for you logo (decrease it)
Hi Michelle, this worked for me until a couple of days ago. Now it looks like this on a mobile: https://rsvpwedding.co.uk/newsite
Do you have any idea what has gone wrong? Many thanks, Suzie
It looks fine for me on mobile Suzie, what screen size are you seeing an issue at?
I just added the code. The problem I’m having is that after the code is added the logo covers up half the content on the page. It doesn’t bump everything down.
Do you have a link Russ?
Hi Michelle, please disregard my message. I was finally able to get it to work. Thanks!
Michelle
Not to worry over this I’ve found a solution on ET’s forum that works very well.
Thanks
Brian.
Michelle, This is great thank you. But at a slight tangent to this I had a call the other day from a site visitor telling me that the site did not work on a mobile and that’s because he had not previously come across the hamburger icon. I wonder how many others don’t understand that either. Also having the hamburger to the far right on certain size tablets with “Select Pages” to the far left is not that intuitive either. Is there a way the hamburger could be replaced with a more obvious button? A future recipé perhaps? Thanks again… Read more »
There are quite a few posts around about this already Brian but this should get you started
.mobile_nav .select_page {
display: none;
}
#et_mobile_nav_menu:before {
font-family: ‘Lato’,Helvetica,Arial,Lucida,sans-serif !important;
content: ‘MENU’;
display: block;
position: relative;
color: #fff;
font-size: 20px;
margin: -20px 0 -24px -100px !important;
}
Michelle
Your generosity in offering this kind of assistance is really quite amazing and I thank you but unfortunately this does not seem to work at all. I’ve added it to the Theme Options > Custom CSS on the site I’m working on but it has no effect at all. If you have any other thoughts it would be appreciated. I’ve left the code in place in case you have a moment to have a look at it.
Do you have a link for the site please Brian?
It’s on this temporary domain Michelle and thanks again for your time:
http://norwichstovesandhomei.apps-1and1.net/
Brian.