Making logo responsive

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Oct 01, 2015 6:43 pm
Reply with quote
Report this post
I use a reasonably sized logo and that is not going to look good on small screens.
Is it possible to make it responsive logo so that it adapts to the width of the screen, in particular, to Smart Phones.
User avatar
Fresh Boarder

GK User
Thu Oct 01, 2015 7:12 pm
Reply with quote
Report this post
Could you please post an url to your site?
User avatar
Moderator

GK User
Thu Oct 01, 2015 7:23 pm
Reply with quote
Report this post
http://brokelman.nl/geloof/index.php
It is a large site with K2 which I will upgrade from Joomla 1.5 to 3.4 and then specify a new layout.
User avatar
Fresh Boarder

GK User
Fri Oct 02, 2015 5:05 pm
Reply with quote
Report this post
Please edit: /templates/gk_news2/css/override.css and add at its end:
Code: Select all
@media (max-width: 580px) {
#gkLogo {
    float: none;
    margin: 0px;
    width: 100%
}
#gkLogo img {
   max-width: 100%;
}
}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Fri Oct 02, 2015 6:13 pm
Reply with quote
Report this post
Thanks, it works great.
User avatar
Fresh Boarder

GK User
Mon Oct 05, 2015 9:54 am
Reply with quote
Report this post
If you have any additional questions regarding this topic, please let me know.
User avatar
Moderator


cron