-
AuthorPosts
-
January 26, 2021 at 1:11 pm #1275472
Hello, can you please help me out with the main pic on pages? I’ve tried a lot in the Content section with all sort of h x w pics, with css, with and without paralax-setting, but cannot find what I want: a full width responsible picture that shows the whole pic, and not just a selection (which it does if you choose paralax). Due to other css rules, to find in theme>customizer> extra css and beneath this. I would very much like your help: Can I add something like
.av-parallax-inner { background-size: 1310px 220px !important; }
#av_product_description { height: 220px !important; }CURRENT >customizer> extra css :
.av-tab-section-image {
filter: none!important;
}
/* CSS – Tabs with equal space*/
.js_active .av-tab-section-tab-title-container {
display: flex!important;
justify-content: space-around;
}
#top .fullsize .template-blog .post .entry-content-wrapper {
font-size: 14px;
}
.comment_meta_container, .comment_container {
display: none !important;
}.bloglist-excerpt .more-link {
color: #816ccf;
}
.avia-cookie-consent {
background-color: #fff;
color: #444;
}
.avia-cookie-consent a.avia_cookie_infolink,
.avia-cookie-consent p,
.avia-cookie-consent .avia-cookie-consent-button {
color: #444;
border-color: #816ccf;
}#top .avia-cookie-consent .avia-cookie-consent-button.av-extra-cookie-btn,
#top .avia-popup .avia-cookie-consent-button.av-extra-cookie-btn {
background-color: #816ccf;
color: #fff;
border-color: #816ccf;
}
#top #wrap_all .header_color #menu-item-1628.av-menu-button-colored > a .avia-menu-text,
#top #wrap_all .header_color #menu-item-1627.av-menu-button-colored > a .avia-menu-text {
background-color: #98d513;
color: #f8f8f8;
border-color: #98d513;
}
.html_elegant-blog #top .avia-content-slider .blog-categories {
display: none;
}- This topic was modified 3 years, 10 months ago by jgooiker.
January 28, 2021 at 7:50 am #1275993Hey jgooiker,
I want: a full width responsible picture that shows the whole pic
This may not be possible because different screens or devices have different aspect ratio and screen resolutions. What you can only do is to resize the image so that is has an aspect ratio and size that caters to most standard screen resolutions, but do not expect that the whole image will be visible in the section or slider area unless you want it to display distorted.
This is the list of the most popular screen resolutions used to date.
// https://gs.statcounter.com/screen-resolution-stats
As you may noticed, most popular screen resolutions have an aspect ratio of 16:9, so resizing the image to have that same aspect ratio should work.
Best regards,
IsmaelJanuary 29, 2021 at 10:26 am #1276268This reply has been marked as private.February 1, 2021 at 4:26 am #1276669Hi,
Thank you for the inquiry.
Have you tried adjusting the position of the background image to center center? It is currently set to center right, so the right portion of the background image displays on smaller screens instead of the center. You probably wanted the 3 children to be visible on mobile view.
Best regards,
IsmaelFebruary 1, 2021 at 9:52 am #1276714Yes, I’ve tried that as well of course, is that the only option to ‘control’ how the picture is shown in mobile screens?
February 2, 2021 at 11:02 am #1277057Hi,
Yes, that is one way to control the position of the background image. We could also use css to adjust it manually on mobile view. Try this css code in the Quick CSS field or in the child theme’s style.css file.
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .home #av_section_1 .av-parallax-inner { background-position: 35% 30% !important; } }
// https://www.w3schools.com/cssref/pr_background-position.asp
Best regards,
IsmaelFebruary 3, 2021 at 9:28 pm #1277462I am very sorry, but this also does not answer the question on both the main page and the Voor wie is… page.
I’ve tried all sorts of figures in stead of 35% and 30% , Like 50 30, and even negative numers, in combination with the 9 different places to focus on, that you can adjust in the content section. It seems impossible to control which part of the picture is shown on little screens and I really hope that you have a better solution?
- This reply was modified 3 years, 10 months ago by jgooiker.
February 5, 2021 at 1:32 pm #1277984Hi,
Thank you for the update.
This is what we get when we manually adjust the background position using the recommended css code above.
Screenshot: https://imgur.com/3QczJAw
As you may noticed, the children are now visible in the color section area.
Now if you want to adjust the actual height of the parallax container like the screenshot below..
Screenshot: https://imgur.com/hcOjW3l
.., please use this css code.
@media only screen and (max-width: 767px) { .home #av_section_1 .av-parallax.active-parallax { height: 100% !important; top: 0 !important; transform: translate3d(0px, 0, 0px) !important; } }
Best regards,
IsmaelFebruary 5, 2021 at 11:16 pm #1278188This reply has been marked as private.February 8, 2021 at 6:20 am #1278544Hi,
Glad it is working, and thank you for the info. The css media query for mobile view has been duplicated, so we have to remove it. We corrected the css code above and moved the css media query at the very bottom where it should be.
.av-tab-section-image { filter: none!important; } /* CSS – Tabs with equal space*/ .js_active .av-tab-section-tab-title-container { display: flex!important; justify-content: space-around; } #top .fullsize .template-blog .post .entry-content-wrapper { font-size: 14px; } .comment_meta_container, .comment_container { display: none !important; } .bloglist-excerpt .more-link { color: #816ccf; } .avia-cookie-consent { background-color: #fff; color: #444; } .avia-cookie-consent a.avia_cookie_infolink, .avia-cookie-consent p, .avia-cookie-consent .avia-cookie-consent-button { color: #444; border-color: #816ccf; } #top .avia-cookie-consent .avia-cookie-consent-button.av-extra-cookie-btn, #top .avia-popup .avia-cookie-consent-button.av-extra-cookie-btn { background-color: #816ccf; color: #fff; border-color: #816ccf; } #top #wrap_all .header_color #menu-item-1628.av-menu-button-colored > a .avia-menu-text, #top #wrap_all .header_color #menu-item-1627.av-menu-button-colored > a .avia-menu-text { background-color: #98d513; color: #f8f8f8; border-color: #98d513; } .html_elegant-blog #top .avia-content-slider .blog-categories { display: none; } /* Add your Mobile Styles here */ @media only screen and (max-width: 767px) { .home #av_section_1 .av-parallax.active-parallax { height: 100% !important; top: 0 !important; transform: translate3d(0px, 0, 0px) !important; } }
Best regards,
IsmaelFebruary 10, 2021 at 5:11 pm #1279554Thank you very, very much! Works very fine, looks awesome now.
Kind regards from the NetherlandsFebruary 11, 2021 at 9:02 am #1279676Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Paralax option blows picture up while extremely wide pic doesn't fill whole wndw’ is closed to new replies.