Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Adjusting logo size and menu location in mobile view

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hello,
I'm having difficulty with my mobile view... the logo and the menu button are overlapping. I either need to get the logo to reduce in size (which I am fine with) or the menu button to move to the right or below. In the template I have the menu justified left and the menu justified right.

myblackfrog.com

Thank you in advance for your help.
  • Douglas Rost's Avatar
  • Douglas Rost
  • LIfetime Developer - Big Bamboo
  • 152 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

Have you changed any template.css styling?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,
Here is what is in the custom.css

#navwrap.affix {
position: fixed;
}
#grid2wrap a {
color: #FFFFFF;
}

I think it may be by your suggestion on another issue I was having...
  • Douglas Rost's Avatar
  • Douglas Rost
  • LIfetime Developer - Big Bamboo
  • 152 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

You will need to add some media queries and browser test them

Try this

@media (max-width: 880px) and (min-width: 320px)
#navwrap .span4 {
width: 50% !important;
margin-left: 0 !important;
}

This is an example where between these widths the logo width shrinks

I would add this and then test it in firefox or IE to see if the image is shrinking or breaking through the width value

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,
I have added the code to the custom.css but nothing has changed. I am testing it in FF with the developers addon showing responsive sizes. I tried reducing the lowest value down to 300 and that still made no change
  • Douglas Rost's Avatar
  • Douglas Rost
  • LIfetime Developer - Big Bamboo
  • 152 posts
  • Karma: 0
The administrator has disabled public write access.
That's a typo from me its missing the opening brackets for the media query

@media (max-width: 880px) and (min-width: 300px) {
#navwrap .span4 {width: 70% !important;margin-left: 0 !important;}
}
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Still no change Paul...

Here is what I have... and I cut/ paste so as not to miss something myself.

#navwrap.affix {
position: fixed;
}
#grid2wrap a {
color: #FFFFFF;
}
@media (max-width: 880px) and (min-width: 300px) {
#navwrap .span4 {width: 70% !important;margin-left: 0 !important;}
}
  • Douglas Rost's Avatar
  • Douglas Rost
  • LIfetime Developer - Big Bamboo
  • 152 posts
  • Karma: 0
The administrator has disabled public write access.
Does work in Chrome but as you say not in firefox

try using

@media (max-width: 880px) and (min-width: 320px) {
#navwrap .span4 img {width: 70% !important;margin-left: 0 !important;}
}

I can't test this via the browser

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers