Text revealing on box

  • Posted in : Mindi
  • absinthe
    Participant

    Hi, I would like to have all the texte, button… on 3 boxes sections, not only when the mouse is on, like the background of my 1st box exemple on my website in the homepage. I achieve to put the text… on the bottom but would like to have all the element always displayed on the bottom (number, title, text and button). I tried everything and don’t find out how to have them always displayed. Sorry for my English, I’m French !

    Mehmet S.
    Keymaster

    Hi,

    No worries about your English, your message is clear!

    The 3 boxes on your homepage are “Interactive Banner” widgets from the Qi Addons for Elementor plugin, set to the “From Bottom” layout. This layout is designed to show the subtitle and the title, and to reveal the text and the button only on mouse hover. The widget has no option to keep everything visible, but a small CSS code does it:

    1. Go to Appearance > Customize > Additional CSS.

    2. Paste the code below and click “Publish”.

    .qodef-qi-interactive-banner.qodef-layout--from-bottom .qodef-m-movement { transform: none !important; }
    
    .qodef-qi-interactive-banner.qodef-layout--from-bottom .qodef-m-text-holder { opacity: 1 !important; }
    

    After this, the subtitle (for example “30 minutes – 80 euros”), the title, the text and the button are always displayed at the bottom of all 3 boxes. I tested the code on your homepage in my browser: everything fits in the boxes on desktop and on mobile.

    This also fixes the difference between your boxes. The layout measures the hidden text when the page starts loading, and on your 2nd and 3rd boxes the measurement comes out too large, so it pushes even the title out of view. That’s why only your 1st box shows its title without hovering.

    Note: The code applies to every “From Bottom” interactive banner on your site. If you use this layout on other pages and want to keep the hover effect there, let me know and I’ll send you a version for these 3 boxes only.

    P.S. The button in the 3rd box still shows the default text “Learn More”. You can change it in the widget’s Button settings.

    Best regards,
    Mehmet
    Pixelwars Team

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register