1. Tiggia
  2. Commercial Templates
  3. Thursday, 21 May 2015
  4.  Subscribe via email
Hi Ciaran,
You very kindly solved an issue for me with the Habitat template, where I wished to use a different logo on lower resolution devices.
I'm now trying to do the same in Metropolis but can't get the CSS fix you gave me last time to work. At the moment I have popped in the resizing CSS that is in your knowledgebase, but it looks a bit crappy due to the excess space below the logo.
I would be really chuffed if you could help out again.
Alternatively, I could keep the same logo with the CSS tweak for size as it is at the moment, but is there a was to custom code out the blank space underneath the logo?
http://www.huddersfieldu3a.org.gridhosted.co.uk
PW is radcliffe
Many thanks,
Alison
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Alison

Try adding the following to the Custom CSS field of your templates parameters where # is the full URL to your new logo image and 767px is the changing screen size (edit to taste)...


@media only screen and ( max-width: 767px ) {
h1.logo a {background-image: url("#");}
}


CiarĂ¡n
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Perfect - works a treat :)
Many thanks
Alison
  1. more than a month ago
  2. Commercial Templates
  3. # 2
  • 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.