Viewing 24 posts - 1 through 24 (of 24 total)
  • Author
    Posts
  • #1345044

    I have a text box in a raster element. This should be above the picture below (row-margin: -80%). If I don’t use any other elements underneath, the text is readable. But as soon as I add a blank space, for example, the text disappears in the background. What can I do to keep the text box in the foreground? So that it is also visible on all devices?
    thanks for your help, Daniela

    #1345065

    Hey beyond-flora,

    Thank you for the inquiry.

    Looks like there is a -80px margin applied to the column in the first grid row cell. Did you adjust the margin settings of the column element?

    .responsive #top #wrap_all .flex_column.av-l0w6l5fo-7029c4706ecbe4ec050ef84b345d1ca7 {
        margin-top: 0px;
        margin-bottom: -80px;
    }
    

    Best regards,
    Ismael

    #1347682

    Hi Ismael,
    Yes that’s right with -80px. I would like the text overlay the image – similar to the screenshot (see link). But as soon as I deposit another element on the page, the text disappears in the background. Do you have any idea how I can bring it back to the foreground? Now, there is a color-section and the box is in the background.
    Thank you for your help, Daniela

    #1347853

    Hi,
    Thank you for your patience and for the login, I couldn’t see your screenshot because it required a login, but I saw the first column and assumed that you wanted it centered over the background, so I removed the hr and changed the column’s negative top margin to a positive bottom margin and it seems centered now, please check.
    If this is not what you wanted please upload your screenshot here or remove the login requirement from google drive.

    Best regards,
    Mike

    #1348056

    Hi Mike,
    I would like the white block to go over the background image. See at the screenshot on the left site over the footer. But as soon as I add more elements to the page, the text is behind the elements disappears.
    The Idea: The “SUNBECKIA” block is supposed to be above the grid element and above the secondary elements (like a color-section) … I hope you know what I mean?
    Best regards, Daniela

    Bildschirmfoto 2022 04 08 um 09.54.00

    #1348174

    Hi,

    The layout of the cells or columns are now similar aside from the 100px bottom margin applied to the column in the first cell. Is that intentional?

    #wrap_all .flex_column.av-l0w6l5fo-b220920a4a63c8fe0bc1fcf7779b0fb6 {
        margin-top: 0px;
        margin-bottom: 100px;
    }
    

    Would you mind providing a mockup of the section or a screenshot of how it is supposed to look?

    UPDATE: I reviewed the thread above and found out that @mike actually added the bottom margin. A screenshot of the expected layout will help.

    Best regards,
    Ismael

    #1348792

    Hello Ismael,
    a new screenshot is now available. I think it’s clear now what I want. The white block with the text disappears behind the gray color section.
    How can I get that box in the foreground?

    Thank you, Daniela

    Bildschirmfoto 2022 04 19 um 13.23.21

    Bildschirmfoto-2022-04-19-um-13.23.21.png

    #1348931

    Hi,
    Thanks for the screenshot changing the negative bottom margin to a positive number corrects:
    2022-04-20_001.jpg
    this is now the result:
    2022-04-20_002.jpg
    please clear your browser cache and check.

    Best regards,
    Mike

    #1350179

    Hi Mika –
    Sorry but no, I would like the block to keep a negative value. Everything should stay that way. The text block should just be in the foreground… How can I get the text to be visible without the block being moved?
    Thank you for your new help ….

    Daniela

    #1350511

    Hi,
    Thank you for your patience, please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:

    #top.home #av-layout-grid-1 {
    	z-index: 5;
    }
    #top.home #av_section_2 {
    	z-index: 1;
    }

    the expected results:
    2022-05-04_003.jpg

    Best regards,
    Mike

    #1352192

    Hi Mike, perfect!
    That’s how it should be!
    Also, is there a way to solve this using a class?
    Or does it have to be adjusted individually for each side?
    I would also like to implement this on other pages, like here: … /sunbeckia/

    Do you have any idea?
    Thanks for your help and best regards,
    Daniela

    #1352224

    Hi,
    Glad to hear, if the layout was the same then you could use classes to achieve this, but your new page is not the same.
    Are your additional pages going to use a grid element like the first page or a color section like this one?
    On the first page the following element was a color section, on the new page it is two 1/2 columns, can you place these columns in a color section?

    Best regards,
    Mike

    #1352906

    Hi Mike,
    Yes, it makes sense that the structure is always the same. I have now created it in such a way that there are always two color areas one below the other. In the upper one then the 1/3 boxes that should go over the second color area. I created this on the start page and on the ../sunbeckia page. Is that how it works with a class?

    Thanks for your help!

    Daniela

    #1353050

    Hi,
    Thank you for your patience, I found the solution a little more complicated because you are using the Sticky with curtain effect Footer Behavior, but by adding this custom class to the color section with the overlay columns: top-column-overlay-with-curtain-footer and this css:

    #top.av-curtain-footer.av-curtain-activated #main > *:not(.av-curtain-footer-container) {
        z-index: 2;
    }
    #top.av-curtain-footer.av-curtain-activated #main > .top-column-overlay-with-curtain-footer  {
    	z-index: 5;
    }

    Please note that the following color section should have it’s height set to at least 35% or 300px to allow for the column overlay.
    I tested this on your homepage and /sunbeckia/
    please clear your browser cache and check.

    Best regards,
    Mike

    #1363323

    Hi Mike,
    sorry for the late response – it’s holiday time here.
    It works great on the site now! Thanks!

    I now have the same problem on another page. Can you help again? The white container should also be in the foreground here. do you see what i mean?

    Thank you in advance and sunny greetings

    #1363487

    Hi,
    Thank you for the link to your site, for your homepage aus Leidenschaft box I added this css:

    #top.home.av-curtain-footer.av-curtain-activated #wrap_all #main #av_section_2,
    #top.home.av-curtain-footer.av-curtain-activated #wrap_all #main #av_section_3 {
    	z-index: 1;
    	position: relative;
    }

    and it seems to be showing correctly now, please clear your browser cache and check.

    Best regards,
    Mike

    #1364696

    Hi Mike,
    that’s great – thanks! I would like to do this on all subpages as well. Maybe with a class?
    The structure is the same on all sides, so that there are always 2 color sections one below the other. Do you have a solution for me?

    Best regards and Thanks,
    Daniela

    #1364726

    Hi,
    If the pages have the same layout, then you should be able to add a custom ID to the second and third color sections:
    second
    third

    and then use this css:

    #top.av-curtain-footer.av-curtain-activated #wrap_all #main #second,
    #top.av-curtain-footer.av-curtain-activated #wrap_all #main #third {
    	z-index: 1;
    	position: relative;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1365796

    Hi Mike,
    Thank you for your help. Maybe I don’t fully understand this, but it doesn’t work for me. I cleared the cache and entered “second” and “third” in the color section for the ID.
    Can you support me there again? I tested it on the “Sortiment” page.

    Thank you and best regards,
    Daniela

    #1365979

    Hi,
    Please link to the “Sortiment” page, I didn’t find it in your pages or portfolio items.

    Best regards,
    Mike

    #1366061

    Hi!
    Sure, sorry! Here the links:
    Best regards,
    Daniela

    #1366096

    Hi,
    Thank you, I changed the color section ID’s to over & under and added this css:

    #top.av-curtain-footer.av-curtain-activated #wrap_all #main #over {
    	z-index: 2;
    	position: relative;
    }
    #top.av-curtain-footer.av-curtain-activated #wrap_all #main #under {
    	z-index: 1;
    	position: relative;
    }

    2022-09-23_001.jpg
    the results:
    2022-09-23_002.jpg
    You will need to adjust the placement of the box or make the height of the under section taller so the over box doesn’t cover the text.
    Please adjust to suit, then clear your browser cache and check.

    Best regards,
    Mike

    #1366403

    Perfect and thank you! Now everything fits and we can hand over the website to the finale. THANKS
    I am happy!

    Best regards, Daniela

    #1366437

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 24 posts - 1 through 24 (of 24 total)
  • The topic ‘Text disappears in the background’ is closed to new replies.