-
AuthorPosts
-
Pankaj Sharma Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 15, 2016 at 1:44 am #940644Hi
Kindly share the url of site ,so that i can check this issue on your site .June 15, 2016 at 6:50 pm #940883Here is the link to the website.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 16, 2016 at 2:16 am #940973Hi
Logo is using the max width as it can get in the all views . If you want to make it small for mobile view add below code in custom.css file@media (max-width:468px) {.logo img { max-width:200px}
chnage the width value with your value .
June 16, 2016 at 4:49 pm #941186Adding that piece of css code changes the default look of the header on the website. The change removes the background images and basically changes the background of the header to white.
Thanks
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 17, 2016 at 1:51 am #941285Hi
i am not able to understand your native language in last post .
The code is for the resize the logo image .
Did u solved it now ?June 17, 2016 at 5:29 pm #941531I have attached to 2 images, one shows the header with the backgrounds showing before the css code was added, the other shows the header after the css code is added. When the css code is added all the header styling is removed.
-
Pankaj Sharma Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 18, 2016 at 12:45 am #941620Hi
Please check it again .
This is the code@media (max-width:468px) {.logo img { max-width:200px}
After add it in custom.css : http://prntscr.com/bhra6r
In mobile view : http://prntscr.com/bhrag1
Code is working : http://prntscr.com/bhrancJune 20, 2016 at 2:24 pm #942161While the page’s logo scales once, say on a phone it does not scale properly on other mobile devices like a tablet.
http://caninfo1.securesites.net/dcc/index.php
Also, if you leave the page and go to a K2 page the logo is scaled down no matter how the web page is scaled.
http://caninfo1.securesites.net/dcc/index.php/agent-listingThanks
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 21, 2016 at 2:29 am #942280Hi
On K2 page logo is small because the default style is override by the code added by you in custom.css file k2 images . http://prntscr.com/bixksg
Add below code in custom.css file to avoid this@media (min-width: 992px) { .logo-control .logo-img { display: block; max-width: none !important; }}
This is the view i am getting in Ipad : http://prntscr.com/bixl8f
Also for k2 pages seems you are using different template style and using small logo option for that .
this is reason the logo is small in the iPad for K2 .
Disable the small logo option if you want to show big size logo .June 22, 2016 at 8:13 pm #943004I am using the default template for the K2 pages.
Here is the image of the webpage on my Galaxy tabletPankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 23, 2016 at 12:58 am #943035Hi
I have not found the screenshot in your last post . Kindly try to add the suggested code in custom.css file .
and it will work :@media (min-width: 992px) { .logo-control .logo-img { display: block; max-width: none !important; }}
Also provide me screenshot of issue and screen size in which you are getting the problem . You can also send a temp super user details via Private reply , so i can fix it directly on your site .
June 23, 2016 at 1:59 pm #943335I have added the following and have provided a screen shot of the tablet that I am viewing the webpage on, also I am not sure were to go to disable the small logo option if you want to show big size logo. If you meant in the Template section of the website, I have tried that and it did not work… @media (min-width:992px) {.logo-control .logo-img { display: block; max-width: none !important; }}
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 23, 2016 at 2:16 pm #943339Hi
Kindly send a temp super user details via Private reply , so i can fix it directly on your site.June 23, 2016 at 3:23 pm #943375I have added the login privileges to the thread.
Thanks
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 24, 2016 at 1:14 am #943492Hi
I was unable to make changes due the template folder is not writable on your site .code for the logo should be like below
/* Start of Mobile control of front page logo */ @media (max-width:468px) {.logo img { max-width:200px} } @media (min-width:992px) {.logo-control .logo-img { display: block; max-width: none !important; }} /* End of Mobile control of front page logo */ @media (max-width:768px) { .logo-image img { max-width:250px}}
Kindly remove the previous logo code and add the code above , its working as i tested on your site .
-
AuthorPosts
This topic contains 16 replies, has 2 voices, and was last updated by gary1234 8 years, 5 months ago.
The topic ‘Logo on home page not scaling’ is closed to new replies.
Jump to forum