Viewing 26 posts - 1 through 26 (of 26 total)
  • Author
    Posts
  • #653689

    Could you advise what the ideal image size is for the shop banner – everything I try zooms right in on the image. Thanks.

    #654941

    Hey 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,
    Vinay

    #892170

    Hey 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!
    Marcel

    #892382

    Hi,
    We should be able to adjust it with

     background-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,
    Mike

    #892755

    Hi 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.

    #892777

    Hi,
    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. 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 ).
    5. Click ” Submit “.
    6. 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,
    Mike

    #892842

    Hi Mike,

    thank you – data below.

    Kind regards
    Marcel

    #893029

    Hi,
    I found this post that discuss your issue, and it points to this code to solve it. But I don’t want to try it without your FTP access to undo the code should there be issues.
    Can you try the solution or include your FTP access in the Private Content area so I can try?

    Best regards,
    Mike

    #893167

    Hi 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
    Marcel

    #893189

    Hi,
    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,
    Mike

    #893275

    Hello 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
    Marcel

    #893423

    Hi Marcel,

    Glad we got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #894128

    Hey 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
    Marcel

    #894215

    Hi,
    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,
    Mike

    #894324

    Hey 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
    Marcel

    #894326

    Hi,
    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,
    Mike

    #894333

    Hey 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
    Marcel

    #894378

    Hi,
    I changed the Shop Description Color to:

    rgba(0, 0, 0, 0);

    Please clear your browser cache and check.

    Best regards,
    Mike

    #1095679
    This reply has been marked as private.
    #1095759

    Hi,
    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,
    Mike

    #1095766
    This reply has been marked as private.
    #1096290

    Hi,
    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,
    Mike

    #1097189
    This reply has been marked as private.
    #1097222

    Hi,
    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,
    Mike

    #1097232
    This reply has been marked as private.
    #1097236

    Hi,
    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

Viewing 26 posts - 1 through 26 (of 26 total)
  • The topic ‘Shop Banner Image’ is closed to new replies.