1. smithjd44
  2. Sherlock Holmes
  3. Commercial Templates
  4. Wednesday, 16 July 2014
  5.  Subscribe via email
I am trying to add a smaller logo for mobile devices in the Habitat template.

My logo extends across the header but when viewed on mobile devices it is way too large.

I have tried the CSS code recommend in the Forums but without success.

The link to my website is http://192.185.157.211/~future/.

Thanks for any assistance you can provide me!

James
Accepted Answer Pending Moderation
0
Votes
Undo
I have the exact same situation for this template. I've also tried all of the recommended code additions suggested elsewhere in the forum, also without success. The link to my website is: http://www.dunschiropractic.com.au/index.php
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Could you try adding the following to the Custom CSS field of your templates parameters...


#header.block_holder {padding: 0 10px;}
.logo_container, h1.logo, h1.logo a {height: auto;}
.logo a {top:0; left: 0;}
.logo img {
left: 0 !important;
margin-left: 0 !important;
max-width: 100% !important;
}


This CSS should work for both logos.

CiarĂ¡n
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Worked perfectly!

Thank you so much!

James
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks also, I added the above and with some additional changes to the css, was able to work a solution.
  1. more than a month ago
  2. Commercial Templates
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.