Modularity Lite: Removing background while retaining image on homepage only

  • Author
  • #2516310

    I am using Modularity Lite and have attempted several CSS codes to remove my background image on all of my pages while still preserving that image on the homepage. Is there a code that will work in my case?



    The blog I need help with is


    Hi LC, what we have to do it to remove the background image you have set everywhere and then bring it back on just the home page with CSS. Go to Appearance > Customize > CSS, delete all the informational text in that window, and paste in the following custom CSS and see what you think.

    body.custom-background {
        background-image: none;
    body.home.custom-background {
        background-image: url("");

The topic ‘Modularity Lite: Removing background while retaining image on homepage only’ is closed to new replies.