-
AuthorPosts
-
September 28, 2020 at 2:43 pm #1248998
Hey Team at Enfold
When using “fixed image” in color section, the whole will not appear in smaller screen resolution e.g. 1920 x 1080.
https://i.imgur.com/LwqUtjG.png
Please could you advice what the correct settings are?LAYOUT
Section Height: No min. height
Margin and Padding: huge paddingSTYLING
Background Image: Actual Image height of 600px
Background Attachment: Fixed
Background Image Position: Center Center
Background Repeat: Stretch to FitThank you!
Best regards
Lene SachsSeptember 28, 2020 at 3:51 pm #1249036Hey Lene,
Please have a look at the following thread:
If you need further assistance please let us know.
Best regards,
VictoriaSeptember 29, 2020 at 11:40 am #1249332This reply has been marked as private.September 29, 2020 at 4:56 pm #1249429Hi Lene,
That code is for the burger menu. The code here is for the images
If you need further assistance please let us know.
Best regards,
VictoriaSeptember 30, 2020 at 8:35 am #1249588This reply has been marked as private.September 30, 2020 at 3:29 pm #1249680Hi Sachs,
Did you add the custom class to those sections or just the css?
Best regards,
VictoriaSeptember 30, 2020 at 5:15 pm #1249712This reply has been marked as private.October 4, 2020 at 5:34 pm #1250425Hi Sachs,
You need to add the custom class .avia-bg-style-fixed to the elements that you are trying to make changes to, so adding just css is only half of the job.
Here are the docs for you:
Best regards,
VictoriaOctober 5, 2020 at 10:59 am #1250558This reply has been marked as private.October 6, 2020 at 7:42 pm #1250922Hi Lene,
https://share.getcloudapp.com/xQuA0qLe The class name has to be added without the dot. Please remove the dots and test the pages.
Best regards,
VictoriaOctober 7, 2020 at 10:49 am #1251096This reply has been marked as private.October 10, 2020 at 2:20 pm #1251868Hi Sachs,
I see that the code is applied on the main page to the image with the clock. The image does not have a parallax effect on mobile, it just scrolls with the page. This is how the code works.
Could you please clear the cache, check again and get back to us.
Best regards,
VictoriaOctober 11, 2020 at 8:48 pm #1252093This reply has been marked as private.October 15, 2020 at 8:23 am #1252943Hi,
the top is cut off in smaller screen resolutions e.g.1920 x 1080
This is quite expected because the aspect ratio of the background image has to be retained; otherwise, it will be distorted. The background image has to be stretched in order to cover the whole section and parts of it may have to overflow outside the background positioning area in order to keep its aspect ratio. You could set the Background Repeat to Scale to fit, but this will create white spaces around the section.
Best regards,
IsmaelOctober 15, 2020 at 1:21 pm #1253009This reply has been marked as private.October 19, 2020 at 1:07 pm #1253951Hi,
Thank you for the info.
Did you set the slider to use the original image without scaling? The Slideshow Image and Video Size settings is inside the Styling > Slideshow Settings toggle. Set it to the first option (No Scaling).
Best regards,
IsmaelOctober 21, 2020 at 11:04 am #1254607This reply has been marked as private.October 22, 2020 at 7:32 am #1254871Hi,
Thank you for the info.
STYLING
Background Attachment: Fixed
Background Image Position: Center Center
Background Repeat: SCALE TO FITThe Styling > Background Image > Gentag baggrund settings of the section with the clock image is set to Stretch to fit, not Scale to fit. You have to set it to Scale to Fit if you want the whole image to be visible, but as we mentioned previously, this might create spaces within the container, or around the background image.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.