Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1437377

    How do I apply the hover effect to increase the column when it is selected?

    #1437404

    Hey leilitacc,
    Typically something like this would work:

    #top .flex_column:hover {
    	animation: grow 2s;
    	animation-fill-mode: forwards;
    }
    @keyframes grow {
      to {
          transform: scale(1.2)
      }
    }

    but you probably will need to adjust the class for your column, if you need help please link to your page so we can examine.

    Best regards,
    Mike

    #1437431

    Thanks for the answer. I applied it and it worked really well.
    But I would like to improve the effect. Is it possible to apply a 1px yellow border to the hover effect?
    I would also like to know how to cancel the effect in some columns where I don’t want the effect?

    #1437432

    Hi,

    Is it possible to apply a 1px yellow border to the hover effect?

    Yes, that should be possible. Please replace the modification with the following code:

    #top .flex_column:hover {
    	animation: grow 2s;
    	animation-fill-mode: forwards;
    }
    @keyframes grow {
      to {
          transform: scale(1.2);
          border: 1px solid yellow;
      }
    }

    Best regards,
    Ismael

    #1437487

    Thanks for the answer!
    I would like to know how to apply the effect to the column alone, and not to all columns on the site. It’s possible?

    #1437508

    Hi,
    You could add a custom class to the column that you want it to would on and then add the custom class to the css, like this:

    #top .customClass.flex_column:hover {
    	animation: grow 2s;
    	animation-fill-mode: forwards;
    }
    @keyframes grow {
      to {
          transform: scale(1.2);
          border: 1px solid yellow;
      }
    }

    Just change customClass to what you choose to use.

    Best regards,
    Mike

    #1437724

    Thank you very much. It worked, but in smartphone screen the columns are getting squeezed to the right. I tried to configure responsive positions and functions but it didn’t work. Any suggestion?

    #1437763

    Hi,
    It looks like in your grid cell you have the left & right padding set to 200px, try using the icons for the screen sizes to make this zero for mobile devices:
    Enfold_Support_5109.jpeg

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.