Equal height fix - Pricing table widget + focus hover effect

  Рет қаралды 3,103

Frank Tielemans

Frank Tielemans

Күн бұрын

Пікірлер: 19
@franktielemans6624
@franktielemans6624 4 жыл бұрын
/*This is the CSS (prefixed)*/ selector .elementor-widget-container, selector .elementor-widget-price-table, selector .elementor-price-table { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; height: 100%; } selector .elementor-price-table__footer { margin-top: auto; width: 100%; } /*hover effects*/ selector .elementor-widget-price-table { -webkit-transition: all 0.3s ease-out ; -o-transition: all 0.3s ease-out ; transition: all 0.3s ease-out ; } selector .elementor-row:hover .elementor-widget-price-table { -webkit-filter: blur(4px); filter: blur(4px); -webkit-transform: scale(0.9); -ms-transform: scale(0.9); transform: scale(0.9); } selector .elementor-widget-price-table:hover { -webkit-filter: blur(0px) !important; filter: blur(0px) !important; -webkit-transform: scale(1.2) !important; -ms-transform: scale(1.2) !important; transform: scale(1.2) !important; }
@teuccio73
@teuccio73 4 жыл бұрын
Image widget
@RomkeJellema
@RomkeJellema 4 жыл бұрын
Works like a charm! And with some additional (instant!) help from Frank, I ended up buying the man a beer. Cheers, Frank!
@sashadbell
@sashadbell 2 жыл бұрын
Great video. Works brilliantly on desktop and tablet views, but doesn't seem to be working on mobile view. I wonder if there is something I need to add to make this work? Thanks again!
@erutan108
@erutan108 3 жыл бұрын
Great tutorial Frank thank you! Question - on mobile the price tables are one on top of the other because of the columns. Is there a way to show them on mobile in a carousel to better compare the tables?
@franktielemans6624
@franktielemans6624 3 жыл бұрын
Well, you could put the price tables in a carousel to start with. First select each pricetable and save it as a global widget, I gave them the names pricetable1, pricetable2 & pricetable3. Add a section and drag in a testimonial carousel. In the slides delete the image, the name and the title and copy the shortcode of each pricetable in the content. Shortcodes can be found in the dashboard > templates ... find the global widget you need and copy the shortcode in the last column and paste it in the content. In the slides options set slides width to 100%, slides per view to whatever you want and slides to scroll to 1. In additional options uncheck autoplay and infinite loop. Add this CSS in the testimonial widget: selector .swiper-slide { padding: 0; } @media screen and (min-width: 1024px) { selector .elementor-swiper-button-prev, selector .elementor-swiper-button-next, selector .swiper-pagination { display: none; } } This will remove padding of the slides, the pagination dots and the arrows on desktop. You don't need them because on desktop all pricetables are shown on the page. The problem now is that the equal height fix of the pricetables doesn't work anymore. The only thing you can do is use a fixed height. I went for 700px, but use whatever what looks nice. Select the section with the testimonial carousel and add this CSS: selector .elementor-widget-price-table, selector .elementor-price-table { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; height: 700px; } selector .elementor-price-table__footer { margin-top: auto; width: 100%; } This will make them equal again, 700px high. Forget the hover effects, it will cause lots of issues that can be solved I guess, but I don't think it's worth to do so in a carousel.
@erutan108
@erutan108 3 жыл бұрын
@@franktielemans6624 This is an amazing answer!!! detailed and precise, thank you so much for your help! I'll definitely give it a go. I gave up on the hover effect to begin with so I don't mind that, and the fixed height overcomes the height issue so that's... a non-issue... I REALLY appreciate the time you spent on this solution, and the test page shows exactly what I was looking for. No.1 support by far ;) Let me know how I can get you a beer?? 🍻 Thank you!
@franktielemans6624
@franktielemans6624 3 жыл бұрын
@@erutan108 There is a donate button on my KZbin profile :-)
@lebuss
@lebuss 3 жыл бұрын
Great video, thank you! I have a question that is not directly related to this video. Can we add a dropdown and show different pricing tables based on the selection? I know that there is the Toggle component, but it provides only 2 options. I wonder if I can add more options by adding a dropdown (select) component in Elementor. Thank you for your amazing contribution!
@franktielemans6624
@franktielemans6624 3 жыл бұрын
You need jQuery or Javascript to do this. Here is a way to do this: www.tutorialrepublic.com/codelab.php?topic=faq&file=jquery-show-hide-div-using-select-box A different approach would be by using a (free) plugin. The carousel widget from Premium addons (free version). premiumaddons.com/carousel-widget-for-elementor-page-builder/ A very powerfull widget that allows you to use templates in the slides and you can even use Elementor widgets to navigate through carousel widget slides. Similar to remote carousel from the Plus addons , but totally free. Brilliant widget. premiumaddons.com/docs/how-to-use-elementor-widgets-to-navigate-through-carousel-widget-slides/ It won't be a dropdown though, but you can use images, icons, text, buttons,...
@lebuss
@lebuss 3 жыл бұрын
@@franktielemans6624 Thank you! I found some JQuery-based solutions, but it gets too complicated to display Elementor Saved Templates for each selection. ElementorPro Toggle is a great component, and that would be great to have a Select/Dropdown component in Elementor that allows us to display custom templates..
@ShivaPanchakshari
@ShivaPanchakshari 4 жыл бұрын
Hi Brilliant. Very useful. I am stil trying to figure out how to give custom bullets to a Woo commerce Poduct Template => Description portion ( I have listed features of the product as a list in product description ).
@franktielemans6624
@franktielemans6624 4 жыл бұрын
What do you mean by custom bullets? list elements default list-style are bullets, but you can change them into squares, circles, roman numbers or lowercase letters. check here how: www.w3schools.com/cssref/pr_list-style-type.asp If you want to swap the bullets with an icon or svg you can remove the list-style completely (none) and add it via a pseudo element (:before).
@ShivaPanchakshari
@ShivaPanchakshari 4 жыл бұрын
@@franktielemans6624 Thanks Frank. That helped a lot to solve it. Works like a charm.
@ChristinaMcKay
@ChristinaMcKay 4 жыл бұрын
Awesome! Thank you very much!
@teuccio73
@teuccio73 4 жыл бұрын
if i want to use the same effect on a photo ?
@franktielemans6624
@franktielemans6624 4 жыл бұрын
what widget are you using? image widget? gallery widget?
@teuccio73
@teuccio73 4 жыл бұрын
@@franktielemans6624 image widget
@franktielemans6624
@franktielemans6624 4 жыл бұрын
​@@teuccio73 That's easy. Simply replace the classnames Change .elementor-widget-price-table into .elementor-widget-image .elementor-widget-image is the classname of the image widget
Carousel with partially visible slides (THE EASY WAY)
6:18
Frank Tielemans
Рет қаралды 28 М.
How to make a Pricing Table in Elementor (Free) w/ Hover Effects
15:34
Build That Website
Рет қаралды 10 М.
CAN YOU DO THIS ?
00:23
STORROR
Рет қаралды 48 МЛН
Каха и лужа  #непосредственнокаха
00:15
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 104 МЛН
😜 #aminkavitaminka #aminokka #аминкавитаминка
00:14
Аминка Витаминка
Рет қаралды 2,8 МЛН
How to Fix Equal Column Heights for all Elementor widgets for FREE
14:33
POSIMYTH - WordPress Tutorials
Рет қаралды 25 М.
Elementor Loop Grid Equal Height Fix
2:51
Wicky Design
Рет қаралды 2,5 М.
Add a Tooltip to Elementor's Pricing Widget for FREE
4:24
Daveden WebDev
Рет қаралды 1,6 М.
[FULLY CUSTOMIZABLE] How to create Pricing Table with Elementor
16:17
Make Dream Website
Рет қаралды 11 М.
Modern offset carousel with custom styling
15:24
Frank Tielemans
Рет қаралды 10 М.
The Easiest Way to Build Websites
10:56
Sajid
Рет қаралды 597 М.
CAN YOU DO THIS ?
00:23
STORROR
Рет қаралды 48 МЛН