Viewing 24 posts - 1 through 24 (of 24 total)
  • Author
    Posts
  • #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!

    #905157

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

    #905477

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

    #905623

    make 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.
    #906041

    Hi,

    Thanks for sharing @guenni007, did you try that out and did you have any luck with it @daniel?

    Best regards,
    Rikard

    #906076

    with 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;
    }
    #906082

    Hi @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.
    #906092

    removed

    • This reply was modified 6 years, 10 months ago by Guenni007.
    #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.
    #906114

    https://webers-testseite.de/daniel01/

    look if this will be the desired aim

    i switched temporarly to boxed layout

    #906141

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

    #906152

    no as you see

    click to enlarge:

    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 container

    declare the margin-top here on 1/1 container not to the color-section via quick css !

    #906175

    Wow! :) 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.

    #906179

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

    #906193

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

    #906208

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

    #906217

    look 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-color

    Result-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.
    #906246

    Hi @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!

    #906260

    if i have forgotten something to delete – please tell me.
    your welcome – best whishes to the Netherlands. – My Great Aunt lived in Voorburg nearby Den Haag

    by 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.
    #906288

    please 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 !

    #906348

    Hi @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.
    #907382

    Hi Daniel,

    Thank you for your input @guenni007.

    Do you still have any more questions or do this issue is resolved?

    Best regards,
    Victoria

    #907578

    Hi Victoria, the issue is resolved, thanks!

    #907672

    Hi,

    Glad that the issue is resolved! Thanks for using Enfold, have a nice day :)

    Best regards,
    Nikko

Viewing 24 posts - 1 through 24 (of 24 total)
  • The topic ‘Negative margin for color section #2’ is closed to new replies.