Skip to content

Resizing the Particles container so it only takes up size of Hero #2591

Closed Locked Answered by matteobruni
AlexMNet asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @AlexMNet,

Starting from 1.37.0 the default behavior was changed to full screen particles since it was the more common configuration. You can disable that in the options adding this:

{
    fullScreen: { enable: false }
    /* all other options */
} 

After that is just a normal div tag that you can place anywhere you want

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
5 replies
@AlexMNet
Comment options

@romjanxr
Comment options

@matteobruni
Comment options

@romjanxr
Comment options

@matteobruni
Comment options

Answer selected by AlexMNet
Comment options

You must be logged in to vote
4 replies
@matteobruni
Comment options

@Hristo-Spasov
Comment options

@matteobruni
Comment options

@Hristo-Spasov
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants