empty tabs being displayed
This topic contains 16 replies, has 3 voices, and was last updated by Naveen Giri 4 years, 7 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: empty tabs displaying
-
AuthorPosts
-
April 24, 2020 at 11:57 am #542290
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_contentI 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,
VictorApril 24, 2020 at 11:59 am #542291This reply has been marked as private.April 24, 2020 at 12:28 pm #542296This reply has been marked as private.April 24, 2020 at 12:38 pm #542299Hi 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
VictorApril 24, 2020 at 2:00 pm #542308Hi 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:
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
VictorApril 25, 2020 at 7:51 am #542483This reply has been marked as private.April 25, 2020 at 1:53 pm #542496Thanks, Kor.
Best regards,
VictorApril 27, 2020 at 7:38 am #542740This reply has been marked as private.April 27, 2020 at 10:07 pm #542981Thanks, 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
VictorApril 27, 2020 at 10:08 pm #542982This reply has been marked as private.April 28, 2020 at 2:26 am #542999Hi
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.
VictorApril 28, 2020 at 3:39 am #543002Hi 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.
April 28, 2020 at 2:41 pm #543098Thanks, Naveen.
Best regards,
VictorApril 29, 2020 at 1:16 am #543169Hi 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,
VictorApril 29, 2020 at 4:57 am #543179Hi 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 -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket