logo png

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
Sun Jul 20, 2014 12:10 pm
Reply with quote
Report this post
Hello, I changed css file and I deleted parts about svg logos... now I'm using png logos only. There is some problem and png logo is not resizing for tablet and mobile layout... could you please help me? Thank you :)

Jan
User avatar
Junior Boarder

GK User
Sun Jul 20, 2014 12:59 pm
Reply with quote
Report this post
Could you please post an url to your site?
User avatar
Moderator

GK User
Sun Jul 20, 2014 2:13 pm
Reply with quote
Report this post
martin-zoubek.wextra.cz
User avatar
Junior Boarder

GK User
Mon Jul 21, 2014 11:02 am
Reply with quote
Report this post
Please edit: /templates/gk_john_s/css/override.css and add at its end:
Code: Select all
@media (max-width: 820px) {
#gkLogo, #gkLogo.cssLogo, #gkLogoSmall, #gkLogoSmall.cssLogo {
    background-size: 100%;   
}
}

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

GK User
Mon Jul 21, 2014 1:10 pm
Reply with quote
Report this post
Thank you for advice! Works great... I have one more question about mobile version layout... there is problem with main photo in the top background of page. I can't see anything from the homepage picture. Is there some way how can I use for mobile version different picture instead of main picture?
User avatar
Junior Boarder

GK User
Tue Jul 22, 2014 9:57 am
Reply with quote
Report this post
Code: Select all
@media  (max-width: 320px) {
  .gkHeaderBg {   
    background-image: url('/subdom/martin-zoubek/images/demo/header/header_small.jpg') !important;
  }
}

will load different image when max screen size is 320px - you can increase max-width size to suit your needs.
User avatar
Moderator

GK User
Wed Jul 23, 2014 10:40 am
Reply with quote
Report this post
thank you!
User avatar
Junior Boarder

GK User
Wed Jul 23, 2014 4:34 pm
Reply with quote
Report this post
Is there anything else I can help you with regarding this topic?
User avatar
Moderator

GK User
Fri Jul 25, 2014 4:55 pm
Reply with quote
Report this post
I have one more question... in my web, there is section "MOJE AKTUÁLNÍ PROJEKTY" (projects) which use modul "news show pro GK5" ...when I click to any of items, after that I can see next popup page with details about that. There is picture which is active link to K2 item page... Is there any way how to deactivate link in the picture? I hope you can understand my messy question :)
User avatar
Junior Boarder

GK User
Fri Jul 25, 2014 5:02 pm
Reply with quote
Report this post
Not without modifying NSP core files.
User avatar
Moderator


cron