dynamic background image

  • Author
  • #3365732


    Hello, I would like to make the background image on my homepage fit dynamically to window size (and mobile). Is there any solution out there? Right now, I am using

    .home .obsidian-background-overlay:before {
    	background-image: url('URL');
    	background-repeat: no-repeat;
    	background-attachment: fixed;
    	background-size: cover;

    but cover does not work for mobile. Thank you in advance.

    The blog I need help with is sanazrezaipiano.com.

The topic ‘dynamic background image’ is closed to new replies.