-
AuthorPosts
-
January 29, 2018 at 12:41 pm #904238
Hi!
The previous thread was closed because we thought the issue was solved but unfortunately it’s not.The solution provided by @Mike is not scalable. I’ve added a link in the private section where you can see the solution I’m looking for. As mentioned in the other thread, I’ve only managed to get it to work with a grid row, not yet with a color section.
Can you please help me? Thank you!
January 30, 2018 at 9:48 pm #905157Hey Daniel,
What is your other conversation can you please link to us, as thee are 22 different topics, to know which one is the one that is related to the issue?
Thank you
Best regards,
BasilisJanuary 31, 2018 at 10:30 am #905477Hi Basilis,
I placed it under ‘previous thread’, but here is the complete link: https://kriesi.at/support/topic/negative-margin-for-color-section/
Thanks for helping!
January 31, 2018 at 3:50 pm #905623make your slider ( i took the full-screen one !)
after the slider take a color-section ( give it the id: over-the-slider )
(here the fullscreen-slider is easier – because i can set the color-section height to 100%) !!
80px is my header height ( if you got a different header height take this value)
do this to quick css:#over-the-slider { position: absolute; top: 80px; z-index: 5; background: transparent; }
see here : https://webers-testseite.de/daniel01/
Problems : the content of the color-section has to be smaller than the slider-height !
even for small screens – maybe than you can make some media-query rules to fit the content.What content is over your slider?
- This reply was modified 6 years, 10 months ago by Guenni007.
February 1, 2018 at 8:43 am #906041Hi,
Thanks for sharing @guenni007, did you try that out and did you have any luck with it @daniel?
Best regards,
RikardFebruary 1, 2018 at 9:31 am #906076with headings, text-block or headline Rotator it will work without adopting it to responsive desing too much.
But as you see with masonry etc. which could get very high on small screens this will need adaptations.
The full-width and full-screen sliders are limited in height.maybe on min-height definition of the color-section it will be good to define the table layout a bit different ( not vertical-align: middle)
#over-the-slider.avia-section.av-minimum-height .container .content { display: table-cell; vertical-align: top; height: 100%; float: none !important; top: 80px; }
February 1, 2018 at 9:38 am #906082Hi @Guenni007 thanks for your suggestion! @Rikard it’s not working in my testing unfortunately.
I’m using a Full Width Easy slider as my first element under the header in a box layout. Under that I have a color section with a 1/1 element in it, using a header and some text.
Here are the links:
Working with a grid row: #
Not working with a color section: #When you change either browser size or zoom percentage in the browser, the color section goes out of proportion. The intention is to always have it at 90% with a 5% margin left and right and slightly overlapping the slider above (appr. 100px).
- This reply was modified 6 years, 10 months ago by Daniel.
February 1, 2018 at 9:56 am #906092removed
- This reply was modified 6 years, 10 months ago by Guenni007.
February 1, 2018 at 9:57 am #906093@Guenni007 Correct!
Edit: under 900px it should just be 100% width and under the slider, but that is no problem to fix.
- This reply was modified 6 years, 10 months ago by Daniel.
February 1, 2018 at 10:15 am #906114https://webers-testseite.de/daniel01/
look if this will be the desired aim
i switched temporarly to boxed layout
February 1, 2018 at 10:32 am #906141Hi @Guenni007, that’s indeed how I would want the result to be. Did you use any different elements? I can’t exactly find out in the code what is different.
February 1, 2018 at 10:46 am #906152no as you see
1) the slider ( i only did show the control elements to make it clear it is a slider full-width) is a normal slider
2) the color-section under it : normal with no miniumum height
3) put in your desired 1/1 container – give to him your class: intro-tekst
3a) background-color of 1/1 container as you like – with inset box-shadow it will work better with #fff
3b) your edge normal on 1/1 container
4) the 1/1 containerdeclare the margin-top here on 1/1 container not to the color-section via quick css !
February 1, 2018 at 10:59 am #906175Wow! :) So no custom CSS needed? I’m impressed!
1 thing remains: I used a color section and a 1/1 container so I could use two background-images. The background-image for the color section is now out of place and I have no idea how to place that one in the right place.
February 1, 2018 at 11:01 am #906179thats what i say put the box-shadow to 1/1 container not to the color-section ( so your class intro-tekst) goes to 1/1 not color-section.
February 1, 2018 at 11:12 am #906193Yep that’s what I did, the box-shadow is OK. But I have two images as background-images; you can see it at the URL.
February 1, 2018 at 11:24 am #906208background-images can be more than one f.e.
#exampleA { background-image: url(decoration.png), url(ribbon.png), url(old_paper.jpg); background-repeat: no-repeat; background-position: left top, right bottom, left top; }
if it is important the first will overlay the second and so on!
so we had to find a different quick css
do not place the background-image in 1/1 container via ALB. only give the background-color : #fff
and your class intro-tekst goes to that 1/1– i downloaded your seal png and try to implement it – just a moment
February 1, 2018 at 11:30 am #906217look to the test-page again:
.intro-tekst { box-shadow: inset 0px 0px 111px 3px rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.19); background-image: url( ) , url( ), -webkit-gradient(ellipse farthest-corner at center, #FFFFFF 0%, #FFFFFF 30%, #C4C4C4 100%) !important; background-image: url( ) , url( ), radial-gradient(ellipse farthest-corner at center, #FFFFFF 0%, #FFFFFF 30%, #C4C4C4 100%) !important; background-repeat: no-repeat; background-position: right bottom, 120px center, center center; background-size: 120px auto, 200px auto, contain; }
first url is your edge effect, second is your seal, third is the gradient (if you like)
you can create your own gradient here: http://www.cssportal.com/css-gradient-generator/
for ie and older browsers i would declare a fallback to a simple background-colorResult-page: https://webers-testseite.de/multiple-background-images/
but i go back to my stretched layout again.- This reply was modified 6 years, 10 months ago by Guenni007.
February 1, 2018 at 12:14 pm #906246Hi @Guenni007,
Awesome! Thanks so much for helping out, it looks great and works super. And best of all, I’ve learned.
Would you mind removing the screenshots for the website? I’m not sure my client would appreciate seeing these. Thanks!
February 1, 2018 at 1:02 pm #906260if i have forgotten something to delete – please tell me.
your welcome – best whishes to the Netherlands. – My Great Aunt lived in Voorburg nearby Den Haagby the way: It is a pity that you do not use the slider as it is : a slider – with fading some different images ( maybe with the same captions ?
and again by the way: you can even use here the background-repeat the same way with commata
background-repeat: repeat-x, no-repeat, repeat-y
- This reply was modified 6 years, 10 months ago by Guenni007.
February 1, 2018 at 2:16 pm #906288please goto my test-page and see the behavior when both urls (images) are in the bottom right corner.
so first url is over the second one !February 1, 2018 at 3:49 pm #906348Hi @Guenni007,
Thanks for the tips! The slider is still work in progress as the website is not officially launched yet. I hope the client also agrees on multiple images.
I see the images overlapping in the bottom right corner! Fun to play with! :)
PS. I know Voorburg, Netherlands is a small country.
- This reply was modified 6 years, 10 months ago by Daniel.
February 4, 2018 at 7:38 am #907382Hi Daniel,
Thank you for your input @guenni007.
Do you still have any more questions or do this issue is resolved?
Best regards,
VictoriaFebruary 4, 2018 at 9:08 pm #907578Hi Victoria, the issue is resolved, thanks!
February 5, 2018 at 4:43 am #907672Hi,
Glad that the issue is resolved! Thanks for using Enfold, have a nice day :)
Best regards,
Nikko -
AuthorPosts
- The topic ‘Negative margin for color section #2’ is closed to new replies.