This topic has 6 replies, 2 voices, and was last updated 9 years, 7 months ago ago by Eva Kemp
Hi again!
I’ve this issue with vertical view of tablets: (I’ve seen this kind of problem in WooPress demo too)
the central banner content is not properly resized. I’ve tried a few css solutions without success..
Could you help me please?
Thanks in advance,
Flora
Hello,
Please try to use this code in custom.css file:
@media only screen and (max-width: 979px) and (min-width: 768px) {
.banner img {
height: 340px !important;
}}
Thank you.
Regards,
Eva Kemp.
Hi Eva!
This solution fixes the image but stretches the content of the banner..
Thank you!
Hello,
Please add this code as well:
@media only screen and (max-width: 979px) and (min-width: 768px) {
img.alignnone.size-full.wp-image-16609 {
height: auto !important;
}}
Regards,
Eva Kemp.
Thanks for your patience, Eva.
Your solution fixed the problem for the width of the content, but I needed to change top margin of the content for vertical tablet view. So to have more control on this I created a class for that margin and used it with different values for different resolutions (instead of using in-line style).
Now it’s quite perfect..
Hope this solution may be useful for other people. 🙂
Thanks a lot again!
Hello,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘Another littel issue with tablet vertical view’' has been successfully resolved, and the topic is now closed for further responses