size logo

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
Sat Oct 11, 2014 11:20 am
Reply with quote
Report this post
hi,

In the template News2 would need the logo size for mobile was different size and logo for pc tablets. as I can get it? Thank you very much.
User avatar
Junior Boarder

GK User
Sat Oct 11, 2014 11:39 am
Reply with quote
Report this post
Hi,
not so easy, but I can give you few tips.
1) Use CSS type Logo (and replace our logo with yours)
2) and use also this code

Code: Select all
@media (max-width: 840px) {
 #gkLogoSmall.cssLogo {
    background-image: url('www.yousite.com/images/tablet-logo.png') !important;
    }

}


Of course decide what screen size should have to get smaller logo instead default one.


p.s.
Read also: https://www.gavick.com/documentation/jo ... -add-logo/
User avatar
Platinum Boarder

GK User
Mon Oct 13, 2014 1:05 am
Reply with quote
Report this post
Thank you so much. It is fortunate to have his help. Greetings.
User avatar
Junior Boarder

GK User
Tue Oct 14, 2014 11:30 am
Reply with quote
Report this post
hi,

I do not quite understand it very well. The size of the logo, for tablet is already OK. All I need is in Mobile, the size is another. That is the code that I insert and that file?

Thank you so much.
User avatar
Junior Boarder

GK User
Tue Oct 14, 2014 5:07 pm
Reply with quote
Report this post
max-width: 320px -- mobile
max-width: 480px -- phablet / small tablet

where, you can add into mobile.css file or inside override.css (guide in my footer)
User avatar
Platinum Boarder

GK User
Wed Oct 15, 2014 12:43 am
Reply with quote
Report this post
hi,

I have inserted the code given in mobile.css file (line 626) and can not get it to work, the logo stays the same size. I attached a file capture if could help me.

Thank you so much.

}
@media (max-width: 420px) {
#gkSocial a {
padding: 0 3px;
}
.itemComments .itemCommentsList li > div {
padding: 10px;
}
.k2LatestCommentsBlock img,
.itemAuthorBlock > .gkAvatar > img,
.itemComments .itemCommentsList li > img {
margin: 10px;
}
}

@media (max-width: 320px) {
#gkLogoSmall.cssLogo {
background-image: url('www.publicoscopia.com/images/logo-v-504.png') !important;
}

}
User avatar
Junior Boarder

GK User
Wed Oct 15, 2014 1:40 pm
Reply with quote
Report this post
Because you forgot one important thing , what I've written also. :mrgreen:
logo-css.png


and replace our logo image with yours and all should be okey.
User avatar
Platinum Boarder

GK User
Wed Oct 15, 2014 3:14 pm
Reply with quote
Report this post
Thank you. As I make my logo.png in svg?
User avatar
Junior Boarder

GK User
Wed Oct 15, 2014 3:24 pm
Reply with quote
Report this post
You have two options:
1) Don't - just rename extension name from png into svg
2) Or use online or graphic tool to convert into
User avatar
Platinum Boarder

GK User
Wed Oct 15, 2014 5:27 pm
Reply with quote
Report this post
hi,

I managed to solve the svg format with an online tool. The logo in Chrome and Mozila, looks good. But in the mobile Safari and the logo is not.

How I can solve it?

Thank you very much.

www.publicoscopia.com
User avatar
Junior Boarder

GK User
Wed Oct 15, 2014 6:16 pm
Reply with quote
Report this post
But in the mobile Safari and the logo is not.

What exactly is wrong.
I don't have mobile safari to check it right now,
only android browsers.
User avatar
Platinum Boarder

GK User
Fri Oct 17, 2014 3:04 pm
Reply with quote
Report this post
hi,

With this option enabled the CSS logo, the logo in the Safari browser, and is not mobile either. Now I have the "Image" option.

Is possible from the "image" option to get the logo has a different pc or tablet size?

Thank you so much.
User avatar
Junior Boarder

GK User
Mon Oct 20, 2014 10:07 pm
Reply with quote
Report this post
Is possible from the "image" option to get the logo has a different pc or tablet size?

I hate this part, but the only solution which can help you is to modify a template code,
and replace logo code with typical module position and using suffix : https://www.gavick.com/documentation/un ... et-layout/

- decide when to show which logo module.
User avatar
Platinum Boarder

GK User
Mon Oct 20, 2014 11:09 pm
Reply with quote
Report this post
but wait, try this :
Code: Select all
@media only screen and (max-width: 480px) {
#gkLogo img {max-width: 220px;}
}


it should work with traditional image logo type.
Of course you can use different value not 220px
User avatar
Platinum Boarder


cron