Viewing 27 posts - 1 through 27 (of 27 total)
  • Author
    Posts
  • #918926

    Hi!

    I want to create a site with a image in the background over the whole screen like here terra-messflug.at
    Is it possible to solve this with a child theme?

    Thanks for helping.

    #918937

    well – if it is with parent theme ok – it will be ok with child-theme too.
    You can achieve this only on page editor and a few css settings

    the point is if you like to have footer and socket ?
    you can see here a test-page. https://webers-testseite.de/fullbackground/
    with one color-section on top with a 100% height
    transparent-header setting (style the header-bg as you like)
    ( because there is no footer nor socket: you can have background-image with scroll too – or fixed)

    Content can be everything Enfold offers on alb elements

    you can have the same with background-video – hope it works for you ( on my end – yes it works)

    • This reply was modified 6 years, 8 months ago by Guenni007.
    #918957

    Hi Guenni007, thanks for your prompt reply.

    Footer and socket are not necessary. I don´t have any experiences with wordpress and at the theme options i can choose between boxed or fullscreen layout, but i need the menu over the full screen and a fullscreen background image and the content should be small like on the page i mentioned before. http://terra-messflug.at

    Thanks a lot

    • This reply was modified 6 years, 8 months ago by M_AVT.
    #918978

    you see the link to the test-page: https://webers-testseite.de/fullbackground/

    #918987

    Hi! Thanks for your help.

    #919006

    if this is what you like to have – i tell you how to reach it.
    https://webers-testseite.de/naturleben/?page_id=211

    #919029

    Yes this is what i would like to have. How can i reach it?
    Thanks

    #919041

    each image here : click to enlarge

    1) use the stretched layout on enfold.
    2) logo and navigation on top
    3) header: logo left menu under it
    3a) Footer: dont display footer nor socket
    4) header-behavior : i have taken: Let logo and menu position adapt to browser window and sticky header
    5) goto Layout Builder and mark : “Show element options for developers”

    6) now we had to obtain your very small content
    6a) for each page you have to have that layout here:

    6b) and the grid gets this:

    7) now the css for quick css

    .responsive body {
        background-repeat: no-repeat;
        background-size: cover;
        background-color: transparent;
        height: 100vh !important
    }
    .responsive body.page-id-211 {
        background-image: url(path-to-your-image);
    }
    #header {
        width: calc(100% - 60px) !important;
        background: transparent;
        top: 30px;
        margin: 0 30px;
    }
    .html_stretched #wrap_all {
        background-color: transparent !important;
    }
    #main {
        background-color: transparent !important;
    }
    .main_color, .main_color .site-background {
        background-color: transparent;
    }
    .header_bg {
        opacity: 0.8 !important;
        filter: alpha(opacity=80) !important; 
    }
    .notfullsize .flex_cell.with-background {
        background-color: rgba(255,255,255,0.9) !important;
    }
    #av-layout-grid-1 {
        margin-bottom: 100px !important;
    }
    
    @media only screen and (max-width: 768px) {
    .responsive #top #wrap_all #header {
    margin: 0 30px !important;
    }
    }

    you see here on that css that you can now have for each page a different background-image

    .responsive body.page-id-211 {
        background-image: url(path-to-your-image);
    }

    to have now not a fullwidth grid-row insert this to your functions.php of your child-theme:

    function grid_layout_notfull(){
    ?>
    <script>
    (function($){
        $('.av-layout-grid-container.grid-notfull' ).wrap( '<div class="main_color notfullsize"></div>');
        $('.notfullsize').css({"clear": "both", "width": "100%" , "float": "left" , "position": "static" , "min-height": "100px" });
        $('.grid-notfull').css({"max-width": "1310px", "margin": "0 auto" , "padding": "0 30px"});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'grid_layout_notfull');

    if you need further assistance – your welcome
    if you have done it send me a link to fine tune it

    #919042

    by the way – : this works much better in responsive case than your example page : http://terra-messflug.at/
    pull your browser window smaller and see.

    and you can play with the width of the grid-row on different pages.
    1/3 2/3 etc pp. but all have to have that custom class mentioned above

    #919236

    And – if you don’t like to determin for each page a background-image – and you can live with a slider – there will be with the same setup a plugin which handels the background.
    See testpage – on every refresh there will be a new background ( the other pages are not adopted to that layout)

    #919398

    Hi,

    Thanks for helping out @guenni007, did you have any luck with the suggestions above @M_AVT?

    Best regards,
    Rikard

    #919490

    Hi Guenni007!

    Thank you very much. You helped me a lot, now it works fine.
    Sorry, but i can not send you a link because i have installed wordpress on a local server.

    Thanks and best regards
    M_AVT

    #919641

    Hi M_AVT,

    Great, glad you got it working and thanks for the feedback. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #920171

    Hi!

    Do i need for every page a single body.page-id?
    The content area, i made it with 4/5 and there i can put different contents like images or textblock or what ever. The content area is div.flex_cell and the content is in div.flex_column and the problem is that this is smaller than the content area.

    Thanks and best regards
    M_AVT

    • This reply was modified 6 years, 8 months ago by M_AVT.
    #920281

    you don’t need it for every page – but i guess that was the aim – and your test page has the same.

    can you make a screenshot of your layout ?

    The flex-grid has the advantage. that you can put in every alb you like to have – even columns ! and on responsive case the empty grids are automatically gone to display none.
    If you can live with image shuffel – go and get for example : https://de.wordpress.org/plugins/responsive-full-width-background-slider/
    this is an older plugin – but it works as you can see it on testpage. If you don’t set it up as autoplay but with shuffel – there will be each time you open a page a different background.

    #920299

    if you like to have the possibility to change the content from left to right cell.
    you have to give to the cell a class f.e. with-background

    than change this in your css (above i did it allready)

    .notfullsize .flex_cell.avia-builder-el-last {
        background-color: rgba(255,255,255,0.9) !important;
    }

    to :

    .notfullsize .flex_cell.with-background {
        background-color: rgba(255,255,255,0.9) !important;
    }

    see page: https://webers-testseite.de/naturleben/?page_id=211
    with 2/5 3/5
    and on bottom the other way round

    #920635

    Hi,

    Thanks for helping out @guenni007 :-)

    Best regards,
    Rikard

    #921358

    Hi!

    Sorry i havn´t explained it clearly. I need a different background image for “Home”, “Contact”, “Gallery” and so on.
    And what i mean with that the div.flex_column is smaller then the content area div.flex_cell you can see at the screenshot here in the red circle. At the mobile view the space around the text is correct. https://imgur.com/a/zIoOu

    Thanks for helping

    • This reply was modified 6 years, 8 months ago by M_AVT.
    #921375

    if you like to have allways the same background-image each page
    yes you have to find the page-id and set it as: (here is id: 211)

    .responsive body.page-id-211 {
        background-image: url(path-to-your-image);
    }

    from a screenshot it is hard to say what it is
    edit: by the way if you have a grid like
    1/2 1/2 and want to have on totally a 1/2 page filled – you have to put in on the right grid-cell a 1/1 container ;)

    #921458

    Sorry but that does not help.
    But i have found the problem. The width of div .av_four_fifth was set to 78.8%.

    Best regards

    #922003

    Hi,

    Great! Glad that you found the problem. Did it fix the issue completely?

    Best regards,
    Ismael

    #922107

    Hi Ismael!

    Yes everything is okay. You can close this topic.

    Thanks for helping and best regards

    • This reply was modified 6 years, 8 months ago by M_AVT.
    #922202

    Hi M_AVT,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #931449
    This reply has been marked as private.
    #932196

    Hi,


    @acrologic
    : Have you tried using the color section? You can set the minimum height to 100% of the viewport height and apply a fullscreen background image. Please create a new thread or ticket if you need further help.

    Best regards,
    Ismael

    #998807

    Hi,
    I’m reviewing the steps for a fullscreen background image from Guenni007. However, I’m confused with the following:
    “6) now we had to obtain your very small content
    6a) for each page you have to have that layout here:

    6b) and the grid gets this:”

    It looks like something has been removed. Can anyone tell me what is supposed to be there? I only have two different backgrounds for the pages on this site. Thanks

    #1000149

    Hi,

    Apparently, there is more than one approach to achieve the fixed background effect. I’ve not tried the previous method but if you like to try another easy way please follow the below steps.

    1. Enable developer options from Enfold theme options > Layout Builder > Show element options for developers
    2. Open a new page and copy the shortcode in this link https://pastebin.com/raw/yF7ZPjbA
    3. Disable sidebar from the page layout options.
    4. Add a background image to the Color section element.
    5. Lastly, copy the below CSS to your site.

    
    /* Column background color */
    .column-bg {
        background: #ededed;
        padding: 90px 70px;
        margin-bottom: 100px;
    }

    To create multiple pages, create a template in the advanced layout builder :)

    Best regards,
    Vinay

Viewing 27 posts - 1 through 27 (of 27 total)
  • You must be logged in to reply to this topic.