Advertisement

Menu resize in mobile view - Too small

Everything to do with Joomla! 5.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
randelld
Joomla! Explorer
Joomla! Explorer
Posts: 434
Joined: Thu Jan 31, 2008 8:45 am

Menu resize in mobile view - Too small

Post by randelld » Tue Feb 04, 2025 9:20 pm

Hi all,
I am nearing completion of our site now but when I view it on mobile the logo goes really small and looks terrible.
Can anyone point me where to look at fixing this, I just can't fathom it out.
URL: www.machinemove.co.uk/dean
Here is what it looks like in mobile view
tiny logo.png
Thank you
You do not have the required permissions to view the files attached to this post.

Advertisement
User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31660
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Menu resize in mobile view - Too small

Post by Per Yngve Berg » Tue Feb 04, 2025 9:47 pm

Mod. Note: Relocated the topic to the Templates Forum

It appears that you are using a template based on the T4 Framework.

randelld
Joomla! Explorer
Joomla! Explorer
Posts: 434
Joined: Thu Jan 31, 2008 8:45 am

Re: Menu resize in mobile view - Too small

Post by randelld » Wed Feb 05, 2025 6:36 am

Hi Per,
Yes I believe it is. Is that significant?

Thank you

Mr. Wimpy
Joomla! Guru
Joomla! Guru
Posts: 620
Joined: Fri Dec 02, 2005 10:46 am
Location: The Netherlands

Re: Menu resize in mobile view - Too small

Post by Mr. Wimpy » Wed Feb 05, 2025 10:02 am

I don't know t4 templates, so I can't help you where to change it, but...

The image width is set by

Code: Select all

.navbar-brand.logo-control img.logo-img-sm {
  max-width: 60px;
}
Change it to a width you prefer.

On big(ger) screens it's

Code: Select all

#t4-header .t4-logo-header .logo-image .logo-img {
  max-width: 435px;
}
#t4-header .t4-logo-header .logo-image .logo-img {
  display: inline-block;
  max-width: 80px;
}
Some other oddities I noticed:
- You are loading the same logo twice, hiding 1 depenbing on screen size. Seems redundant.
- On small screens you can scroll horizontally, I have not found the reason why though, but it may be something you want to look into.

Use your browsers Devtools to inspect your css.
I.e. right click on an item and select 'Inspect', or use shortcut keys shift+ctrl/cmd+C...

randelld
Joomla! Explorer
Joomla! Explorer
Posts: 434
Joined: Thu Jan 31, 2008 8:45 am

Re: Menu resize in mobile view - Too small

Post by randelld » Wed Feb 05, 2025 2:35 pm

That is a great help
Thank you

randelld
Joomla! Explorer
Joomla! Explorer
Posts: 434
Joined: Thu Jan 31, 2008 8:45 am

Re: Menu resize in mobile view - Too small

Post by randelld » Wed Feb 05, 2025 4:09 pm

Hi Per,
You fixed it.

Thank you very much for taking the time

Advertisement

Post Reply

Return to “Templates for Joomla! 5.x”