-
AuthorPosts
-
Idan Damti Friend
Idan Damti
- Join date:
- September 2014
- Posts:
- 94
- Downloads:
- 0
- Uploads:
- 1
- Thanked:
- 1 times in 1 posts
March 24, 2013 at 2:35 pm #186151Hi,
I changed my logo size to 350px / 65px and I also update it on the template.css file.
when I am checking my site on my iphone the logo is not responsive.
how can I fix it?
My site link is: http://24locallocksmith.com/
thanks.
HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
March 25, 2013 at 7:05 am #487678Dears Tiwebmaster,
Please use other logo image for mobile devices as m-logo.png. Then open file less/responsive-style.less and add the below code into it:
// Logo Image
// ----------
.logo-image {
overflow: hidden;a {
background-image: url("../images/m-logo.png");
background-repeat: no-repeat;
width: @T3logoWidth;
height: @T3logoHeight;
}//hide sitename and slogan
span, small {
display: none;
}}
You need change width and height value so as to be compatible with mobile devices
– Next, go to JA Mero template setting and run complie less to css method.Hope this helps.
Regards
Idan Damti FriendIdan Damti
- Join date:
- September 2014
- Posts:
- 94
- Downloads:
- 0
- Uploads:
- 1
- Thanked:
- 1 times in 1 posts
March 28, 2013 at 9:03 am #488129by running the compile less to css it will keep all the changes I made before to the template.css file?
Idan Damti FriendIdan Damti
- Join date:
- September 2014
- Posts:
- 94
- Downloads:
- 0
- Uploads:
- 1
- Thanked:
- 1 times in 1 posts
March 28, 2013 at 9:41 am #488136I made the compile less to css….
now the image size is changing the the image source is not changing and I still see the logo.png and not the m-logo.png.please let me know how to fix it.
thanks.
HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
March 28, 2013 at 9:58 am #488142Sorry, please try to edit
background-image: url("../images/m-logo.png");
tobackground-image: url("../images/m-logo.png") !important;
Run Compile Less to Css againRegards
Idan Damti FriendIdan Damti
- Join date:
- September 2014
- Posts:
- 94
- Downloads:
- 0
- Uploads:
- 1
- Thanked:
- 1 times in 1 posts
April 3, 2013 at 9:34 am #488693thank you! that fixed it!
April 17, 2013 at 5:34 am #490119Hi,
I have 2 logos I want to use… One large logo (logo.png) for desktop template and a smaller logo for mobile (logo-m.png)
logo.png (for desktop image size W:400px x H:40px)
logo-m.png (for desktop image size W:286px x H:80px)I have followed the steps above and the mobile logo works but it also changes the desktop template to the mobile logo?
can I use 2 different logos? thanks MichaelSTEPS:
1. I have uploaded the image logo.png via Template Manager -> theme > Logo Image. (I am using the light Mero template)2. I copied the code below to directory less/responsive-style.less
3. Then I selected compile Less to CSS
// Logo Image
// ----------
.logo-image {
overflow: hidden;a {
background-image: url("../images/m-logo.png") !important;
background-repeat: no-repeat;
width: 286px;
height: 80px;
}//hide sitename and slogan
span, small {
display: none;
}}
HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
April 17, 2013 at 9:28 am #490154Hi Mrwerner,
No, please remove image logo at template setting http://prntscr.com/10yhtq . In this option, your site will display this logo on all devices and ignore css rule.
Then you must move m-logo.png to folder templates/ja_mero/images .Regards
-
AuthorPosts
This topic contains 8 replies, has 3 voices, and was last updated by HeR0 11 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum