empty tabs being displayed

This topic contains 16 replies, has 3 voices, and was last updated by  Naveen Giri 4 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #542290

    Victor Cardona
    Full Member
    Post count: 177

    Hi

    I have several tabs on my detail page and only want those having content to be displayed. This was the case until recently. There is one tab that appears to be displayed even without content.

    As shown at this link, the HEAR GEOAUDIO tab is shown but there is nothing in it.
    https://www.hearabouthere.com/historical/united-states/new-york/hudson-1/colonial/columbia-turnpike-no-26-west-gate-toll-house/#post_content

    I checked the other posts and this tab (HEAR GEOAUDIO) appears to always be displayed now.

    I thought the default was to not show tabs without content.

    Could this be a setting that was changed somehow?

    Thanks in advance for any assistance.
    Best regards,
    Victor

    #542291

    Victor Cardona
    Full Member
    Post count: 177
    This reply has been marked as private.
    #542296

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #542299

    Victor Cardona
    Full Member
    Post count: 177

    Hi Kor,

    Thanks for your message.

    I have different fields being displayed in the GEOAUDIO tab versus the HEAR GEOAUDIO tab. The HEAR GEOAUDIO tab has user uploaded audio while the GEOAUDIO tab is admin only so I have added all the content.

    Thanks
    Victor

    #542308

    Victor Cardona
    Full Member
    Post count: 177

    Hi Kor,

    As a follow up, the following page has admin only info at the GEOAudio tab and also displays HEAR GEOAUDIO tab even though it is empty:

    https://www.hearabouthere.com/historical/united-states/new-york/hudson-1/colonial/columbia-turnpike-no-26-west-gate-toll-house/#post_content

    This page has user uploaded info at the HEAR GEOAUDIO tab (this one works correctly- no GEOAudio tab displayed)

    https://www.hearabouthere.com/historical/united-states/virginia/williamsburg/colonial/wren-building/

    Thanks
    Victor

    #542483

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #542496

    Victor Cardona
    Full Member
    Post count: 177

    Thanks, Kor.

    Best regards,
    Victor

    #542740

    Naveen Giri
    Moderator
    Post count: 1559
    This reply has been marked as private.
    #542981

    Victor Cardona
    Full Member
    Post count: 177

    Thanks, Naveen.

    Kor had helped me with this and may have added the indicated text in the tab shortcode.

    Kor-do you remember if you added this text or part of this tab? It appears that the badge is not being displayed in any event. Perhaps I tried to add this badge but it is not working and you added the filename hiding code?

    Also you had suggested that I add css to hide the audio filename which worked briefly and then didn’t. Should I remove that CSS?

    Finally, the dropdown for the tabs on iphone is not working. The tabs are displayed adjacent to each other (not part of a drop down as before) but only on the tab, not the subtabs.

    Perhaps all part of the same problem?

    Any help appreciated.
    thanks
    Victor

    #542982

    Victor Cardona
    Full Member
    Post count: 177
    This reply has been marked as private.
    #542999

    Victor Cardona
    Full Member
    Post count: 177

    Hi
    I think I found a partial solution to this. I used the dynamic content option instead of the badge option and the filename displaying issue appears gone.

    I am using a shortcode with dynamic content to display text.

    Unfortunately, the field label is now being displayed due to the dynamic content shortcode. I tried to take out the field label in the custom field section but that was not possible. How could I hide the field label in the tab?

    How would I display a text size or color using the dynamic content shortcode? The badge made this easy.

    Also the tab drop down on iPhone is still gone. How could I get that back?

    Thanks for the help.
    Victor

    #543002

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Victor,

    the field title can be hide with following css

    
    
    
    .geodir-field-addsoundtrack .geodir_post_meta_title{
      display:none;
    }
    

    I will check the mobile issue and get back to you.

    #543098

    Victor Cardona
    Full Member
    Post count: 177

    Thanks, Naveen.
    Best regards,
    Victor

    #543169

    Victor Cardona
    Full Member
    Post count: 177

    Hi Naveen,

    When I added the CSS to hide the field title, the filename for the audio file came back again, and the field title remained.

    I left it up for now at

    https://www.hearabouthere.com/historical/united-states/virginia/williamsburg/colonial/wren-building/

    It sounds like this is a bigger problem since I had a similar problem trying to use a badge on a tab?

    Also, any progress on the tabs issue on mobile? There is no longer a dropdown and the tabs navigation disappears after leaving the “home” tab.

    Appreciate the help.

    Best regards,
    Victor

    #543179

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Victor,

    The dropdown issue has been already fixed. I have updated the GD to the latest 2.0.0.90, you can check it now on mobile.

    about the other issue related to field title.
    seems you have missed the . while pasting the CSS snippet.
    I have added the following CSS. you can check now the field title and audio file name is hidden.

    
    .geodir-field-addsoundtrack .geodir_post_meta_title{
      display:none;
    }
    .geodir-field-addsoundtrack .geodir-custom-field-file .geodir-cf-file-name{
      display:none;
    }
    

    Regards
    Naveen

Viewing 15 posts - 1 through 15 (of 17 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket