-
AuthorPosts
-
June 27, 2016 at 8:01 am #653689
Could you advise what the ideal image size is for the shop banner – everything I try zooms right in on the image. Thanks.
June 29, 2016 at 5:56 pm #654941Hey webonizemarketing,
Please try to make the image size 1310×141 px As this is a responsive theme the banner size also depends on the screen size and it automatically adapts to the width of the different screens.
Best regards,
VinayDecember 27, 2017 at 3:42 pm #892170Hey Vinay,
I tested your advise of 1310×141 px to get a shop banner without this zoom.
Actually, it still zooms the image and you are not able to see the motive of it. Is there any other advise for using the shop banner?
In private a image of what it looks like at the moment and how it should look like.
Thank you!
MarcelDecember 30, 2017 at 9:37 pm #892382Hi,
We should be able to adjust it withbackground-size: contain
but I see you are using the parallax effect which is offsetting it, is this what you wanted or are you willing to not use the parallax effect?
Best regards,
MikeJanuary 3, 2018 at 9:20 am #892755Hi Mike,
how am I able to adjust the shop banner with the command you recommend?
” background-size: contain”
I simply want my pic to appear on the size I uploaded it – I use the 1310×141 px recommended size by Vinay, but actually get a widely oversized picture.
January 3, 2018 at 11:49 am #892777Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.Best regards,
MikeJanuary 3, 2018 at 2:49 pm #892842Hi Mike,
thank you – data below.
Kind regards
MarcelJanuary 4, 2018 at 2:05 am #893029January 4, 2018 at 9:35 am #893167Hi Mike,
thank you very much for this advice and your willigness to solve this problem.
Right at the moment, for me it seems to be a highly complicated solution for a “small” problem – so we will wait until there is a better solution.
But you could really help me with this regarding this issue:
Which resolution would you choose for the woocommerce shopbanner in order to get an “acceptable” solution?
Best regards
MarcelJanuary 4, 2018 at 11:11 am #893189Hi,
The size recommend by Vinay should be right, but as I was investigating this further I found some more code which I tweaked:/*shop banner fix*/ .av-parallax-inner.av-parallax-woo { background-position: 0 10% !important; background-size: 100% 30% !important; transform: translate3d(0, 3%, 0) !important; } .avia-section-large .content { padding-top: 40px!important; padding-bottom: 80px!important; }
and added to your quick css, this seems to be working.
Please see screenshot in Private Content area for how it looks to me.
Please clear your browser cache and check on your end.Best regards,
MikeJanuary 4, 2018 at 4:35 pm #893275Hello Mike! You made it! Congrats for beeing my Thurdsday’s superhero!
It really works perfectly – your solution leaves a 2 px space between header and banner – for me, it looks even better with this little space.
In the private content a link to how your solution is working on our site.
Best regards and thank you very much
MarcelJanuary 4, 2018 at 8:59 pm #893423Hi Marcel,
Glad we got it working for you! :)
If you need further assistance please let us know.
Best regards,
VictoriaJanuary 6, 2018 at 5:20 pm #894128Hey Mike,
hey Victoria,unfortunately, with the shop banner there is one more issue.
On smaller screens (smartphones) I get a big blank space between header and the content – the place where usually the banner should be displayed.
By shrinking the browser to a minimum, there is not this issue – only on smartphones. Can you reproduce this problem and is there any solution? I added the link and a screenshot from a smarthphone with newest Chrome Browser.
Kind regards
MarcelJanuary 6, 2018 at 10:02 pm #894215Hi,
I found the issue was happening on mobile and tablets, and I couldn’t adjust it enough to solve.
So I tried a new solution, I removed your shop banner and uploaded a cropped version for mobile, then added this css:@media only screen and (min-width: 1440px) { div.av-section-color-overlay-wrap { background-image: url(https://site.de/wp-content/uploads/2017/12/shop-header-alleweine.jpg); background-repeat: no-repeat; background-size: contain !important; background-position: 50% 2%; } .avia-section-large .content { padding-top: 40px!important; padding-bottom: 80px!important; } } @media only screen and (min-width: 1024px) and (max-width: 1439px) { div.av-section-color-overlay-wrap { background-image: url(https://site.de/wp-content/uploads/2017/12/shop-header-alleweine.jpg); background-repeat: no-repeat; background-size: contain !important; background-position: 50% 2%; } .avia-section-large .content { padding-top: 20px!important; padding-bottom: 80px!important; margin-top: -20px !important; } } @media only screen and (min-width: 768px) and (max-width: 1023px) { div.av-section-color-overlay-wrap { background-image: url(https://site.de/wp-content/uploads/2017/12/shop-header-alleweine.jpg); background-repeat: no-repeat; background-size: contain !important; background-position: 50% 30%; } .avia-section-large .content { padding-top: 20px!important; padding-bottom: 80px!important; } } @media only screen and (max-width: 767px) { div.av-section-color-overlay-wrap { background-image: url(https://site.de/wp-content/uploads/2018/01/shop-header-655-300x65.jpg); background-repeat: no-repeat; background-size: contain !important; background-position: 50% 1%; } .avia-section-large .content { padding-top: 0px!important; padding-bottom: 0px!important; } }
It seems to work for mobile, tablet, laptop & desktop
please see screenshots in Private Content area.
Please clear your browser cache and check, if you don’t like it we can go back.Best regards,
MikeJanuary 7, 2018 at 1:03 pm #894324Hey Mike,
thank you very much for this nice and clear solution – I thought a lot about it and came to the conclusion that it unfortunately doesn’t fit my needs – although I really like your idea pretty much because of the responsibility above all devices.
The thing is: your solution only works when there is a text set in the shop description – “Alle Weine”. For the shop page /shop it is really perfect, but when the user starts filtering for his or her wine and adds new categories the static shop description is a bit confusing.
The idea of using the shop banner is to set matching shop banner images for each category in order to personalize the filter options (wines and the category fit to the appearance of the page).
So is there a way to use your built solution and set different shop banners and different “welcome notes” above it?
Best regards
MarcelJanuary 7, 2018 at 2:32 pm #894326Hi,
I believe that to use different shop banners for pages and categories you will need to use a plugin such as: Woocommerce Category Banner Management Please review the plugin video to see if this is what you had in mind.Best regards,
MikeJanuary 7, 2018 at 2:46 pm #894333Hey Mike,
thank you for this plugin advise.
Do you have got an idea to stay on your solution and leave away the text set in Enfold > Shop Options > Shop Description >
Enter a short description or welcome note for your default Shop Page?When I leave it blank, the banner appears smaller than with a text added – how can I use your banner solution without text and no size reduction?
Then, your solution would be perfect for me!
Best regards
MarcelJanuary 7, 2018 at 4:45 pm #894378Hi,
I changed the Shop Description Color to:rgba(0, 0, 0, 0);
Please clear your browser cache and check.
Best regards,
MikeApril 30, 2019 at 9:40 am #1095679This reply has been marked as private.April 30, 2019 at 1:55 pm #1095759Hi,
I added this css, Please clear your browser cache and check.#av_product_description { background-image: url(https://your-site.de/wp-content/uploads/2019/04/Banner-Ts-beauty-shop.png) !important; } #av_product_description .av-parallax.active-parallax { opacity: 0 !important; }
Best regards,
MikeApril 30, 2019 at 2:19 pm #1095766This reply has been marked as private.May 2, 2019 at 3:02 am #1096290Hi,
Sorry for the late reply, please try creating a copy of the image so the width is around 400px and add it to css like this:@media only screen and (max-width: 767px) { #av_product_description { background-image: url(https://your-site.de/wp-content/uploads/2019/04/Banner-Ts-beauty-shop-2.png) !important; } }
This way you will have two images, one for mobile and one for desktop.
Best regards,
MikeMay 4, 2019 at 1:32 pm #1097189This reply has been marked as private.May 4, 2019 at 2:42 pm #1097222Hi,
I took a look at your mobile menu and found that your opacity was set to zero, which hides it, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:@media only screen and (max-width: 767px) { #top #wrap_all #av-burger-menu-ul > li { opacity: 1 !important; } }
For your logo image I adjusted the css some to this:
@media only screen and (min-width: 767px) { #av_product_description { background-image: url(https://your-site.de/wp-content/uploads/2019/04/Banner-Ts-beauty-shop.png) !important; } } @media only screen and (max-width: 767px) { #av_product_description { background-image: url(https://your-site.de/wp-content/uploads/2019/05/Banner-Ts-beauty-shop-mobile.png) !important; background-position: center !important; } }
Now it is working well on mobile, Please clear your browser cache and check.
Best regards,
MikeMay 4, 2019 at 3:21 pm #1097232This reply has been marked as private.May 4, 2019 at 3:37 pm #1097236Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Shop Banner Image’ is closed to new replies.