- This topic has 9 replies, 2 voices, and was last updated 5 months, 1 week ago by
David.
-
AuthorPosts
-
August 13, 2020 at 1:44 am #1400298
Kristan
Hello I just build a new site. I use the latest version of wordpress 5.5. And latest version of GP plugin and theme. My problem is with elementor image widget not rendering the right image size in mobile and tablet. It’s only around maximum 80px in mobile and tablet whatever I do to adjust. This is weird. When I switch to the default theme twenty, it renders the right image size on mobile, not maximum 80px. But with generatepress all images inserted in elementor are at maximum 80px. I already reinstalled the GP theme and doesn’t change anything.
FOr now, I use the image as a background image, it renders right. But I need the image widget rendering the right size in mobile and tablet.
Here’s a view in mobile
https://ibb.co/z81cZ1fIt renders okay on desktop.
August 13, 2020 at 2:49 am #1400406David
StaffCustomer SupportHi there,
can you share a link i can access ( ie. remove the coming soon ) with the Image in place so i can see what the problem is.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 13, 2020 at 2:58 am #1400425Kristan
Thanks for your prompt response David. Here’s a link I used image widget there
August 13, 2020 at 3:27 am #1400478David
StaffCustomer SupportWeird – it is picking your Mobile header logo image size CSS.
Can you disable your cache so i can take a closer look.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 13, 2020 at 3:33 am #1400488Kristan
Alright david. just turned off my wordpress caching and the plugin.
August 13, 2020 at 3:44 am #1400510David
StaffCustomer SupportThe Image in Elementor has no width setting – if you were to change its size it should display correctly. If you don’t want to add a size then you need to change this CSS:
@media (max-width: 950px) { .mobile-header-logo img { height: 80px !important; } }
to:
@media (max-width: 950px) { .mobile-header-logo > img { height: 80px !important; } }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 13, 2020 at 3:59 am #1400547Kristan
all my images in mobile or tablet view in that page is small. I tried the elementor image width and max adjustments but it doesn’t work, normally it works.I tried adjusting the size in elementor but none of them works.
August 13, 2020 at 4:02 am #1400553Kristan
wwoooo that works!!!!
August 13, 2020 at 4:03 am #1400555Kristan
Thanks david! Thats my error on my code.
August 13, 2020 at 4:05 am #1400557David
StaffCustomer SupportIts rather odd how that CSS would affect the Elementor images. But i am glad it works 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.