Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Implementing jQuery on SVG for the WordPress Header Logo Reply To: Implementing jQuery on SVG for the WordPress Header Logo

#169707
chrisburton
Participant

Did you change anything around? I don’t see any code within jQuery that creates this effect. In your codepen, the background effect is done with CSS.

.logo-square, .logo-bg{
    transition: 0.4s;
}

Also, you know you can simply get rid of that jQuery script and do this whole animation thing with CSS, right?

Edit: I have to get going now. Hopefully someone can chime in.