Logo svg

October 2015 Joomla Template
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Thu Dec 10, 2015 12:38 am
Reply with quote
Report this post
How to set the logo as a file in SVG format?
User avatar
Senior Boarder

GK User
Thu Dec 10, 2015 10:12 am
Reply with quote
Report this post
Are you referring to old News or News Refreshed template?
User avatar
Moderator

GK User
Thu Dec 10, 2015 10:17 am
Reply with quote
Report this post
News Refreshed
User avatar
Senior Boarder

GK User
Mon Dec 14, 2015 12:29 pm
Reply with quote
Report this post
Is it possible?
User avatar
Senior Boarder

GK User
Mon Dec 14, 2015 12:30 pm
Reply with quote
Report this post
Please edit: /templates/gk_news/css/override.css and add at its end:
Code: Select all
#gkLogo.cssLogo {
    background: transparent url('');
}

and set link to your svg file in url.
Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Mon Dec 14, 2015 12:48 pm
Reply with quote
Report this post
Almost worked. I've made:
Code: Select all
#gkLogo {padding: 0 75 px;
}

Now it's ok - thanks !!!
User avatar
Senior Boarder

GK User
Mon Dec 14, 2015 5:36 pm
Reply with quote
Report this post
I'm glad I could help.
If you have any additional questions regarding this topic, please let me know.

Ps - remember to add png fallback for browsers that doesn't support svg.
User avatar
Moderator

GK User
Mon Dec 14, 2015 7:50 pm
Reply with quote
Report this post
Cyberek wrote:Ps - remember to add png fallback for browsers that doesn't support svg.

And how to set it up?
User avatar
Senior Boarder

GK User
Wed Dec 16, 2015 8:19 pm
Reply with quote
Report this post
Well, this is not a frontend tutorial forum. You can search the web or use solution from any other template such as Events.
User avatar
Moderator

GK User
Thu Dec 17, 2015 11:17 am
Reply with quote
Report this post
In describing the new template is: "Improved support for the Retina displays (SVG)," but the logo in svg format by default does not support :(
That's what I found is a modification css:
Code: Select all
#gkLogo.cssLogo {
   background-image: url(/images/logo_mieczewo-01.png);
}
.svg #gkLogo.cssLogo {
   background-image: url(/images/logo_mieczewo_com.svg');
}

But here somehow I do not want to work, I probably forgot something :(
There is a chance for tips - what where how?
User avatar
Senior Boarder

GK User
Mon Dec 21, 2015 10:50 am
Reply with quote
Report this post
Could you please post an url to your site?
User avatar
Moderator

GK User
Mon Dec 21, 2015 11:06 am
Reply with quote
Report this post
User avatar
Senior Boarder

GK User
Mon Dec 21, 2015 12:50 pm
Reply with quote
Report this post
It works fine from what I see.
User avatar
Moderator

GK User
Tue Dec 22, 2015 8:33 am
Reply with quote
Report this post
The test samples were negative.
Do you have some way of testing activities without support for SVG?
User avatar
Senior Boarder

GK User
Wed Dec 23, 2015 9:04 pm
Reply with quote
Report this post
I don't quite understand... Could you please be more specific?
User avatar
Moderator

GK User
Sat Dec 26, 2015 9:13 pm
Reply with quote
Report this post
ok. In browsers that have displayed correctly - fine :). The question of whether there is any tool (eg. On-line) where you can see how artwork will look like when the browser will not support SVG.
User avatar
Senior Boarder

GK User
Sun Dec 27, 2015 7:44 pm
Reply with quote
Report this post
You can use devtools/firebug and uncheck svg declaration :)
User avatar
Moderator

GK User
Mon Dec 28, 2015 10:25 am
Reply with quote
Report this post
Options searched in all directions - not found. It would be a great solution.
User avatar
Senior Boarder

GK User
Mon Dec 28, 2015 2:39 pm
Reply with quote
Report this post
I'm not entirely sure what do you mean - could you please be more specific?
User avatar
Moderator

GK User
Tue Dec 29, 2015 12:28 pm
Reply with quote
Report this post
Ok - my misunderstanding. I had hoped that the firebug options is the ability to simulate a browser that does not support SVG.
I think it's time to close the subject :)
Thanks for the help!
User avatar
Senior Boarder

GK User
Tue Dec 29, 2015 3:22 pm
Reply with quote
Report this post
Ok, thanks for the info.
If you have any additional questions regarding this topic, please let me know.
User avatar
Moderator


cron