-
AuthorPosts
-
November 29, 2017 at 12:54 pm #883027
Good day, support.
I need the feautered image of post to be in mobile version too.https://netpics.org/image/GN0QO
https://netpics.org/image/GNolfThank you in advance!
November 29, 2017 at 3:02 pm #883059Hey,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
@media only screen and (max-width: 767px) { .responsive .template-blog .blog-meta { display: block; }} @media only screen and (max-width: 480px) { .template-blog .post .entry-content-wrapper { width: 100%; }}
Best regards,
YigitNovember 29, 2017 at 4:26 pm #883093Thank you, Yigit.
Unfortunately, it’s not I wanted to see. The width of feautered image in mobile version is not 100% of block.
I mean the feautered image to be 100% in mobile version like in enfold option of Single Post Style “Single post with big preview image (featured image)”.
Because I use Single post with small preview image.- This reply was modified 7 years ago by AliAbabwa.
December 1, 2017 at 4:34 pm #883937Hi,
That is because image size is 180x180px. Please try following
1. Install this plugin: https://wordpress.org/plugins/simple-image-sizes/
2. Go to Settings > Media
3. Change thesquare
image size (increase its width / height).
4. Regenerate the thumbnails by clicking the button at the bottom.Best regards,
YigitDecember 1, 2017 at 5:21 pm #883950Dear Yigit.
Look Private Content, please. It doesn’t work((December 3, 2017 at 3:43 am #884232Hi,
Your images are still 180px square, and there is also 50px right margin keeping it from going full width. But we can adjust with this css if you wish:@media only screen and (max-width: 426px) { .single-post .single-small.with-slider .small-preview { width: 360px!important; height: 360px!important; } img, a img { max-width: 360px!important; } .template-blog .blog-meta { margin-right: 0px!important; } }
Best regards,
MikeDecember 4, 2017 at 1:13 pm #884618Thank you for answer, Mike.
This code does not work.
Look at video question in Private Content, please.December 6, 2017 at 4:58 am #885341Hi,
Thank you for the video, the code I gave you was for mobile phones @ 425px width, I see now your going down to 375px. Please try this new code for both:@media only screen and (min-width: 393px) and (max-width: 426px) { .single-post .single-small.with-slider .small-preview { width: 360px!important; height: 360px!important; } img, a img { max-width: 360px!important; } .template-blog .blog-meta { margin-right: 0px!important; } } @media only screen and (max-width: 392px) { .single-post .single-small.with-slider .small-preview { width: 320px!important; height: 320px!important; } img, a img { max-width: 320px!important; } .template-blog .blog-meta { margin-right: 0px!important; } }
When testing please use the developer tools and choose between the two mobile sizes:
This is because the code is written with image sizes and not percentages needed to calculate every possible size.
Mobile phones come in mostly two sizes, 375px for older & smaller, 425px newer larger. Hope this makes sense.Best regards,
MikeDecember 6, 2017 at 12:48 pm #885550Dear Mike.
I use this css code, but still no effect.
Maybe you misunderstood me.Look at video question in Private Content, please.
P.S.
I apologize for the background voices in video, the workflow…))December 7, 2017 at 4:13 am #885885Hi,
Thank you for the video, but the point I was trying to make was that many of the screen sizes that your method produces are not used in real world devices. Such as your smallest 265px, to achieve what you want would take some extensive coding. But we can help you achieve screen sizes for devices that your visitors would be using, such as iPhones & Android, here is how your site would look on those devices:
Please see the video in Private Content area.
Thank you again, and I hope this helps.Best regards,
MikeDecember 7, 2017 at 12:39 pm #886062Thanks a lot, Mike.
I understand you.December 8, 2017 at 12:45 am #886307December 8, 2017 at 12:45 pm #886462Yes, it works, thank you.
December 8, 2017 at 8:40 pm #886606Hi AliAbabwa,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.