Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1399684

    Hey I want to have background image in footer only on home page and it should remain white background throughout the website.

    #1399750

    Hi sarthakchoudhary,

    Please try to add this CSS code in Enfold > General Styling > Quick CSS: (just replace the url with the image you want to use)

    .home #footer {
        background-image: url(https://website.com/themes/wp-content/uploads/2023/03/footer_bg.jpg);
        background-size: cover;
    }

    Hope it helps.

    Best regards,
    Nikko

    #1399868

    What if I want to use image I have uploaded on my footer template as a background?

    #1399907

    Hi sarthakchoudhary,

    Are you referring to using a page as a footer? if yes, then you can easily do that via Color Section.

    Best regards,
    Nikko

    #1400625

    Yes I’m using that itself.
    But how can I have different background on my pages if I am using a common page as a footer

    #1400782

    Hi sarthakchoudhary,

    Please go to Enfold > General Styling > Footer (tab) > Background Image set to Upload custom image then add the Custom Background Image
    Hope it helps.

    Best regards,
    Nikko

    #1401058

    But I want to use different background image for footer on different pages.
    For eg : I want my home page footer to have a a background image but my contact us page to be without a footer background.

    #1401155

    Hi sarthakchoudhary,

    I see, then I think you should only add it via CSS.
    Just add this CSS code in Enfold > General Styling > Quick CSS:

    .page-id-1 #footer {
        background-image: url(https://website.com/themes/wp-content/uploads/2023/03/footer_bg.jpg);
        background-size: cover;
    }

    Then just replace 1 in page-id-1 with the correct ID number.
    Here’s how you can find the page id number: https://wpdatatables.com/how-to-find-page-id-in-wordpress/
    If you need to apply it in multiple pages, just copy and paste the code and replace the ID.
    Hope it helps.

    Best regards,
    Nikko

    #1401206

    Hey I tried doing this but the background is not visible. I am attaching my site credentials for you to look into the matter.

    #1401285

    Hey any update? Please look into this issue fast !

    #1401479

    Hi sarthakchoudhary,

    I apologize for the delayed response.
    I checked the Quick CSS and also in THeme Customizer but I did not find the code I gave.
    Can you put the page URL and the background image you want to put in its footer in the private content? then I’ll add the CSS code for you.

    Best regards,
    Nikko

    #1401505

    I tried but the code didn’t worked so I removed it. I have attached the details you asked below.

    #1401602

    Hi sarthakchoudhary,

    I have replaced the code with this one:

    .home #footer-template {
        background-image: url(https://website.com/themes/wp-content/uploads/2023/03/footer_bg.jpg);
        background-size: cover;
    }

    Please review your site.

    Best regards,
    Nikko

    #1401658

    Thank you its working

    #1401681

    Hi,
    Glad Nikko was 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 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Footer background’ is closed to new replies.