-
AuthorPosts
-
February 19, 2018 at 3:59 pm #914332
Dear support.
In page in Private Content
I have Advanced Layerslider and column after it with text:
Dear fellow…Margin-top of this column: -400px
But it is so on 1920px of screen width.
When I change screen width to smaller resolution the column with text is going up under Layerslider((
But I need the same visual margin in other resolutions (like in 1920px).February 19, 2018 at 4:04 pm #914339So, I use this construction, but it’s not correct at all:
@media only screen and (min-width: 1920px) { .blue-lives_text { width: 65% !important; margin-top: -400px !important; } } @media only screen and (min-width: 1800px) and (max-width: 1919px) { .blue-lives_text { width: 65% !important; margin-top: -380px !important; } } @media only screen and (min-width: 1700px) and (max-width: 1799px) { .blue-lives_text { width: 65% !important; margin-top: -360px !important; } } @media only screen and (min-width: 1600px) and (max-width: 1699px) { .blue-lives_text { width: 65% !important; margin-top: -340px !important; } } @media only screen and (min-width: 1500px) and (max-width: 1599px) { .blue-lives_text { width: 65% !important; margin-top: -320px !important; } } @media only screen and (min-width: 1400px) and (max-width: 1499px) { .blue-lives_text { width: 65% !important; margin-top: -300px !important; } } @media only screen and (min-width: 1300px) and (max-width: 1399px) { .blue-lives_text { width: 65% !important; margin-top: -280px !important; } } @media only screen and (min-width: 1200px) and (max-width: 1299px) { .blue-lives_text { width: 65% !important; margin-top: -260px !important; } } @media only screen and (min-width: 1100px) and (max-width: 1199px) { .blue-lives_text { width: 65% !important; margin-top: -240px !important; } } @media only screen and (min-width: 1000px) and (max-width: 1099px) { .blue-lives_text { width: 65% !important; margin-top: -220px !important; } } @media only screen and (min-width: 900px) and (max-width: 999px) { .blue-lives_text { width: 65% !important; margin-top: -200px !important; } } @media only screen and (min-width: 768px) and (max-width: 899px) { .blue-lives_text { width: 65% !important; margin-top: -180px !important; } } @media only screen and (min-width: 700px) and (max-width: 767px) { .blue-lives_text { width: 100% !important; margin-top: -160px !important; } } @media only screen and (min-width: 600px) and (max-width: 699px) { .blue-lives_text { width: 100% !important; margin-top: -140px !important; } } @media only screen and (min-width: 500px) and (max-width: 599px) { .blue-lives_text { width: 100% !important; margin-top: -120px !important; } } @media only screen and (min-width: 400px) and (max-width: 499px) { .blue-lives_text { width: 100% !important; margin-top: -100px !important; } } @media only screen and (min-width: 300px) and (max-width: 399px) { .blue-lives_text { width: 100% !important; margin-top: -80px !important; } .bottle { margin-top: 0 !important; }
February 19, 2018 at 5:04 pm #914390Hi,
Can you try to remove the bottle from layerslider, then add it as an image, just add some class name to it, set it to position absolute and adjust it’s positioning, then for the text block, just set the width and that should be it. Let us know if this helps.
Best regards,
NikkoFebruary 19, 2018 at 6:48 pm #914452Dear, Nikko.
But I need the image with parallax effect. There is no parallax effect in simple image.February 20, 2018 at 5:37 am #914689Hi,
That’s a lot of css media queries for a single element. Please provide the login details in the private field so that we can check the setup. And a screenshot of the expected layout on desktop and mobile view.
Best regards,
IsmaelFebruary 20, 2018 at 11:46 am #914792Thank you, Ismael.
Look private content, please.Column after LayerSlider with text:
Dear fellow…Margin-top of this column: -400px
But it is so on 1920px of screen width.
When I change screen width to smaller resolution the column with text is going up under Layerslider((
But I need the same visual margin (like in 1920px) in other resolutions.February 21, 2018 at 5:03 am #915228Hi,
Thank you for the update. The page looks exactly as the screenshot. Did you fix the layout issues?
Screenshot: https://imgur.com/a/f1dBK
Best regards,
IsmaelFebruary 21, 2018 at 1:27 pm #915431Hi,
Look at my second post from February 19, 2018 at 4:04 pmYour answer (February 20, 2018 at 5:37 am):
“That’s a lot of css media queries for a single element.”This css construction for one element is not correct at all and until now this terrible css construction has not changed.
February 22, 2018 at 3:17 am #915815Hi,
I didn’t know that you disabled the css modification before so it looked different yesterday. What if the “blue-lives_text” element is included in the layer slider?
Best regards,
IsmaelFebruary 22, 2018 at 11:57 am #915982Dear Ismael,
I already did it. But in this way I have 2 problems:
1. Left-margin of text layer in layerslider is different than column with text without layerslider in different resolutions.
2. Canvas height of layerslider is 1500px, the text layer in layerslider have min. mobile font size 14. The text goes down beyond the layerslider.February 22, 2018 at 12:27 pm #915994I think the easiest way in this case, do as the Nikko said (February 19, 2018 at 5:04 pm).
And using parallax effect for bottle without layerslider.February 22, 2018 at 7:53 pm #916247Hi,
Yeap, that does sound the best solution!
Go ahead and let us know if you have any problem.Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.