Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1462944

    Hello, I would like to adjust the tab section. See pictures

    1. Title bar, all titles in one line, centered and evenly spaced.
    2. Active tab should be underlined without an arrow
    2. Content box to the entire width, regardless of content (see picture)

    https://staging.aigner-logistics.de/wp-content/uploads/2024/07/tab_section_V01.jpg

    https://staging.aigner-logistics.de/wp-content/uploads/2024/07/Aigner-Mock-up_Transportlogistics-scaled.jpg

    #1463117

    Hey Markus,
    Thank you for the link to your site, for the tab content width, it looks like you have this custom css:

    .av-layout-tab-inner {
        margin-right: 20% !important;
        margin-left: 1% !important
    }

    please remove it, and add this css instead:

    .responsive .av-layout-tab-inner > .container {
    	padding: 0;
    	max-width: 95%;
    }

    To have a line under the tabs instead of an arrow, add this CSS:

    .avia_transform .av-tab-arrow-container span {
      left: 0;
      width: 100%;
      transform: none;
    }
    .av-active-tab-title .av-tab-arrow-container {
    	top: -9px;
    }
    .av-inner-tab-title, .av-tab-arrow-container, .av-tab-section-icon, .av-tab-section-image {
       width: 100%;
    }

    this also increases your tab width so some of your tab titles are not over two lines.
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1463204

    Hi Mike,
    perfekt thank you
    Another question: How can I make the distance between the underline and the text a little smaller?

    • This reply was modified 3 months, 3 weeks ago by markmade.
    #1463227

    Hi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #top .av-tab-no-icon.av-tab-no-image .av-inner-tab-title {
        margin-bottom: 0;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1463232

    could we make the underline a little narrower in height

    #1463235

    Hi,
    Try adding this:

    #top .av-tab-arrow-container {
        top: -11px;
    }

    Best regards,
    Mike

    #1463239

    and the line width smaller

    #1463240

    Is it possible for individual containers within the tab container to be full screen width? As shown in the second image I added? So, for example, both images are full width, as is the section where the truck is graphically displayed.

    https://staging.aigner-logistics.de/wp-content/uploads/2024/07/Aigner-Mock-up_Transportlogistics-scaled.jpg

    #1463251

    Hi,
    You can make the inner section full width with this css:

    .responsive .av-layout-tab-inner > .container {
        max-width: 100%;
    }

    then you can add padding to the elements in the inner tab that you don’t want full width, like the text element.

    Best regards,
    Mike

    #1463303

    almost perfect, you just have to add padding: 0px; and then it will fit

    #1463304

    How can I make the underline a little smaller?

    #1463348

    Hi,
    Try adding:

    #top .av-tab-arrow-container {
        height: 11px;
    }

    Best regards,
    Mike

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