-
AuthorPosts
-
andersonannem Friend
andersonannem
- Join date:
- November 2007
- Posts:
- 76
- Downloads:
- 17
- Uploads:
- 1
- Thanks:
- 12
- Thanked:
- 5 times in 1 posts
December 7, 2013 at 1:35 pm #192804Hello!
I’ve noticed that the background image seems to have a display problem on my Android smartphone versus my Android tablet.
Because the Android smartphone display area is so small, having a background image doesn’t really add any value (IMHO).
Is there a way to have a different background for smartphones versus tablet? I still want to maintain the background image on
the tablet and PC, but have a simple solid color for display only for smartphones.Can you help me do this?
Thank you!
Anne
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
December 9, 2013 at 3:38 pm #514801Hi Anne,
<blockquote>Is there a way to have a different background for smartphones versus tablet? </blockquote>
Yes. You can use the to define the background image on each responsive view (mobile, tablet and desktop).
i.e: You want to define the background image on mobile view, you can use these codes:
@media (max-width: 767px) {
body {
background-image: url("../images/bg_mobile.png");
background-repeat: no-repeat;
}
}With these added styles, you can change the properties of logo as you want.
Note: You can a custom.css file at templates/ja_smashboard/css/ path and put the @media queries styles into.
This is a customization request which is not under our forum support policices so that I regret to say that you will need to do this modification by yourself or working with a developer.
andersonannem Friendandersonannem
- Join date:
- November 2007
- Posts:
- 76
- Downloads:
- 17
- Uploads:
- 1
- Thanks:
- 12
- Thanked:
- 5 times in 1 posts
December 11, 2013 at 1:43 pm #515108Hi Leo.
I added the code you suggested to the custom.css and the template-responsive.css but no difference. I am testing the mobile bit (for phone) on an android device. It doesn’t seem to work so well on my android smartphone (maybe it’s not so smart. 🙂 ).
Everything works OK on my android tablet.
I seem to have seen something about a problem on android, do you know anything about this?
Anne
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
December 12, 2013 at 1:49 am #515158Hi Anne,
<blockquote>I seem to have seen something about a problem on android, do you know anything about this?</blockquote>
The new background image does not appear on portrait or landscape view of your Android mobile? If possible, can you put the site’s url here or PM me ?
It will be great when you can tell me the exact width of your mobile view (portrait and landcape), so i can give you more accurate css styles in this case.
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by phong nam 10 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum