Call Us! Button

Request an Appointment Button

How to add hover to images in Duda.co
September 10, 2021

Duda does not provide a widget to do this natively, but it can be achieved quite easily with a few lines of CSS code.

You can add the main image as the background of a column, for example:

Then you can take the URL of the hover image and copy it.

Now go to the column and edit the CSS.

Now copy and paste the existing CSS rule:

In the new rule, you will add :hover to the selector, and change the background image URL to the one we copied before, like this:

After that, you hit Update and Bob’s your uncle!

Leave a comment if you have any question šŸ™‚

The post How to add hover to images in Duda.co appeared first on Nelito.

  • All
  • Uncategorized

Esse post foi escrito pelo ChatGPT. Descubra como ele funciona!

O ChatGPT Ć© uma ferramenta de conversaĆ§Ć£o desenvolvida pela OpenAI que permite aos usuĆ”rios conversar…
Read More

How to use navigator.sendBeacon with PHP 7

Recently I needed to send a request on the unload of a page (save where…
Read More

How to add hover to images in Duda.co

Duda does not provide a widget to do this natively, but it can be achieved…
Read More

How to host email on Duda.co

Duda does not provide email hosting services, so you can’t host email on Duda directly.…
Read More

Our Lazy Feline Friends

Fluffy’s favorite holiday is just around the corner: National Lazy Day is August 10th! Granted,…
Read More

Keeping Kitty Hydrated

Summer is in full swing now. Staying hydrated is extremely important at this time of…
Read More

Keeping Fluffy Fit

Cats are very active when they are young. It’s always adorable seeing a frisky kitten…
Read More

Pool Safety for Dogs

Does your dog like swimming? Our canine companions are rather divided on this topic. Just…
Read More

Reasons to Hug Your Cat

Is your feline pal a cuddlebug? If so, you may want to make a note…
Read More
1 2 3 4