Parallax Images

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10045337
    middlemann
    Participant

    Hello,

    Is there a way to vertically justify the parallax background images to the top or bottom or center?


    #10045339
    Support
    Keymaster

    Hi, you can change the background-size from cover to container, adding this:

    @media (min-width: 992px) {
    	.parallax-background {
    		background-size: contain !important;
    	}
    }

    #10045342
    middlemann
    Participant

    That is a solution but, I have some parallax that I need the background to cover.
    Your solution gets applied to all parallax sections.
    Any way to do it on an individual basis?


    #10045343
    Support
    Keymaster

    You can add an extra class in the parallax SECTION, example. add “parallax-contain” after the parallax class and then the css:

    @media (min-width: 992px) {
    	.parallax-contain .parallax-background {
    		background-size: contain !important;
    	}
    }

Viewing 4 posts - 1 through 4 (of 4 total)

This topic is marked as "RESOLVED" and can not rceive new replies.