Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #730247

    Hey,
    I found this topic here: https://kriesi.at/support/topic/is-there-a-way-to-add-a-bit-of-opacity-in-the-footer-area/

    Now my problem is, that I have in the footer.php in line 113 no end div, which I could removed.
    Can you tell me, where this end div is now and where I have to put it in?

    Thanks.

    #730273

    Hey marioeiterer,

    A lot has changed over the years, could you let us know exactly what you are trying to achieve?

    It appears you have added some custom css with !important rule due to which I’m unable to set the background property for the footer.

    Please remove any modifications you have added and post your login details so we can take a closer look at this issue.

    Best regards,
    Vinay

    #730280

    Hey,
    I removed the modifications.

    #730343

    Hi,

    It appears you have added the image which already has a black overlay this is the easiest way to achieve what you are looking for.

    If you like to do it the css way, then…

    Remove the background image from theme options and use the css below

    
    #footer{
       padding:0!important;
    }
    .footer_color {
       background:rgba(0,0,0,0.5) url('https://ofn.nightcup.at/wp-content/uploads/2016/12/feuerwehr-nenzing-8.jpg');
       background-size:cover;
    }
    #footer > .container {
       background:rgba(0,0,0,0.8)!important;          
    }

    Best regards,
    Vinay

    #730381

    Hi,
    I have removed the background image from the theme options and used your css, but the opacity isn’t full width.

    #730422

    Hi,

    Please add “max-width:100%!important;” to the footer container to make it full width :)

    Your code should look like below :

    
    #footer > .container {
       max-width:100%!important;
       background:rgba(0,0,0,0.8)!important;          
    }

    Best regards,
    Vinay

    #730425

    Hi,
    If I add this code all my widgets are full width. But I want that only the opacity is full width.
    Best regards.

    #730550

    Hi,

    You can update the code as below

    Please adjust the padding 10vw to any value that suits your design :)

    vw stands for viewport width.

    #footer > .container {
       max-width:100%!important;
       background:rgba(0,0,0,0.8)!important;          
       padding: 0 10vw;
    }

    Best regards,
    Vinay

    #730674

    Hi,

    thanks for your answer.
    This code works pretty well for one display solution, but not for responsive design.
    How can I adjust this code for responsive design?

    Best regards.

    #730733

    Hi,

    You are most welcome :)

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    @media only screen and (max-width: 767px) {
    .responsive #top #footer > .container {
       width:100%!important;   
       padding: 0 10vw!important;
    }}

    Best regards,
    Vinay

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