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

    As you can see in the attached screen shot below I am using the tab element on the left hand side in the grey area. In the screen shot below you will notice I have tabs that say “New Category” I would like to have those blank with no title at all. However for some reason the code wants to insert a “1” when you leave the title of the tab empty.

    I need the empty tabs to create padding below the “Procedures” tab. Because the page height is determined by how many tabs you have. And on this page
    I only have 4 tabs I actually need right now . Forms,Document, Releases, Procedures.

    Is their a code snippet we can use so that it will remove the default “1” when a tab has no title ?

    tab section

    #1093088

    Hey webworm72,

    Please provide a link to the site/page in question so we can look into this issue further.

    Best regards,
    Jordan Shannon

    #1093142

    Hi Jordan thanks for the response.

    All I am trying to determine is if there Is a code snippet we can use so that it will remove the default “1” when a tab has no title ?

    #1093144

    Hi,

    Could be possible with CSS but we need to inspect the page.

    Best regards,
    Jordan Shannon

    #1093161

    Hi Jordan Really appreciate your help !

    see login credentials below in private section
    then navigate to page below as an example, all the pages are set up the same, you will see the “1” on the tab where I removed the title and left blank

    https://intranet.martinharris.vegas/accounting/

    #1093342

    Hi,

    Add this to quick css:

    .tab.tab_counter_4{
    display:none!important;
    }

    Best regards,
    Jordan Shannon

    #1093406

    thanks Jordan !

    so that code snippet essentially removed the tab with the “1” completely , which removed the vertical padding that the tab creates
    I looked at the other pages and any tab after the 4th tab is removed with that code snippet.

    I don’t don’t understand why the code inserts a “1” when you simply leave the Tab Title Blank , is that a bug ?
    for example on page below , you will see the 4 tabs at the bottom with the “1” inserted when we leave the “Tab Title” section blank
    https://intranet.martinharris.vegas/information-technology/

    • This reply was modified 5 years, 8 months ago by webworm72.
    #1094760

    Hi,

    Yea it seems so. It is something that we will see how to work further.

    Best regards,
    Basilis

    #1094831

    Thank you very much for the response Basilis !!!
    To keep it simple for troubleshooting purposes I uploaded the theme to a domain that I am not doing anything with.

    The install below is WordPress 5.1.1 and the Enfold v4.5.6, no plugins at all being used and it is still doing the same things when Tab Titles are left empty.

    So yes it appears to be a minor bug / issue with the tab code. I can certainly provide admin logins to this install, although I’m sure you can replicate this on your end.

    let me know
    Thanks

    #1094955

    Hi,
    This seems to be a duplicate thread to this one Please check this one.

    Best regards,
    Mike

    #1094964

    thanks Mike you can close his ticket

    #1094983

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘How to remove "1" from tab when no title is used’ is closed to new replies.