elementor-tabs-as-tabs-mobile

Elementor – Keep Tabs as Tabs on mobile

Get the latest from
Sniffle Valve

Sniffle Valve

Consider buying Sniffle Valve a coffee  

Book a one-on-one online training session

Note: To copy any code presented in these tutorials, hover over the code and select the Toggle RAW Code icon raw code icon

There are times when one wants to have the Elementor Tabs widget to keep displaying as tabs on mobile instead of switching to an accordion. This tutorial will show you how to do so.

Note that if you want all of your tabs to behave this way, then do NOT add the CSS ID in the Advanced tab on the Tabs widget and remove the h-tabs from the provided CSS below:

@media (min-width: 320px) {
  #h-tabs .elementor-tabs-wrapper {
    display: flex;
    	flex-direction: row;
  }
}

@media (min-width: 320px) {
  #h-tabs .elementor-tab-mobile-title {
    display: none;
  }
}

 

6 thoughts on “Elementor – Keep Tabs as Tabs on mobile”

  1. Avatar

    hello
    thank you for this code,
    but in my case, my tabs’s count is 10.
    so i want to tab’s row is 2 line …
    can you help me?

    1. Avatar

      Hi Zoey,
      Not too sure how to go about that as this code was intended for just a few tabs. If I come up with something, I’ll post back here.
      Cheers!
      Lyle

    1. Avatar
      Sniffle Valve

      Hi Robin,
      If you copied the code from the site, then you have to add the h-tabs CSS ID in the Advanced tab of the Tab widget.
      If you have already done that and it doesn’t work, make sure you have copied the CSS correctly.
      Cheers!
      Lyle

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top