Hide empty widget Title (not hide now)
Jun 29, 2016 12:32 pm by infokeeper
Jun 29, 2016 12:32 pm by infokeeper
I have excess elements are displayed on the site.
What they are and how to remove them?
He breaks formatting of pages and affects the appearance of the widget.
I mean the section of the <h3>
<div id="gtranslate" class="widget GTranslate_widget2">
<h3 class="group"><span></span>
</h3>
<!-- GTranslate: https://gtranslate.io/" rel="nofollow" target="_blank" rel="nofollow" target="_blank" rel="nofollow" target="_blank -->
Re: h3 class="group" - unnecessary code
Jun 29, 2016 2:07 pm by Yana
Jun 29, 2016 2:07 pm by Yana
Hi,
Can you please post your website address, so we can check it?
Re: h3 class="group" - unnecessary code
Jun 29, 2016 2:27 pm by infokeeper
Jun 29, 2016 2:27 pm by infokeeper
Re: h3 class="group" - unnecessary code
Jun 29, 2016 2:29 pm by infokeeper
Jun 29, 2016 2:29 pm by infokeeper
In footer have link to template whiсh I use.
I think - need to be able to hide the plugin title.
Re: h3 class="group" - unnecessary code
Jun 30, 2016 6:24 am by Edvard
Jun 30, 2016 6:24 am by Edvard
Hi,
<h3 class="group"><span></span></h3> is not added by GTranslate. Please check the GTranslate widget code, may be you have modified it?
Thanks!
Re: h3 class="group" - unnecessary code
Jul 1, 2016 6:25 pm by infokeeper
Jul 1, 2016 6:25 pm by infokeeper
I did not modify the code. Perhaps this part of the WP added. The other option I've seen "hide Title" plugins. If you select it, it does not show an empty title and the dividing line. In other widgets it becomes automatic. If the Title field is left blank, it is not given under Title empty space and does not show the dividing line.
Maybe it is still in your power to do so would be if the Title field is empty, do not take him at an empty space and not to show a separator? It's great to be helped. Thanks!
http://specdrive.com.ua/widget.png
Re: Hide empty widget Title (not hide now)
Jul 4, 2016 9:20 pm by infokeeper
Jul 4, 2016 9:20 pm by infokeeper
I solve problem. In my custom.css I add next code:
h3.group { display: none; }
Maybe it is not elegant sollution.
I hope, in future widget developers solve this problem in code.
SIMILAR TOPICS
Error message on click on the widget | Jan 6, 2019 9:52 pm | Replies: 1 | Post by: jmric68 |
Hide GTranslate on Mobile | Oct 3, 2018 6:27 pm | Replies: 5 | Post by: krandal6 |
Globe Alignment in Header Widget | Mar 20, 2018 5:14 am | Replies: 3 | Post by: geo2m |
woocommerce cart widget | Feb 13, 2017 1:45 pm | Replies: 14 | Post by: fabbrichetta |
Link problem in the gtranlate widget under internet explorer | Dec 29, 2016 6:37 am | Replies: 13 | Post by: freebouba |