Hide empty widget Title (not hide now)

Popular automatic website translation tool

Hide empty widget Title (not hide now)

Postby infokeeper » Wed Jun 29, 2016 4:32 pm

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 -->
Last edited by infokeeper on Tue Jul 05, 2016 1:09 am, edited 3 times in total.
infokeeper
 
Posts: 5
Joined: Wed Jun 29, 2016 4:20 pm

Re: h3 class="group" - unnecessary code

Postby Yana » Wed Jun 29, 2016 6:07 pm

Hi,
Can you please post your website address, so we can check it?
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4473
Joined: Thu Jan 12, 2012 6:21 pm

Re: h3 class="group" - unnecessary code

Postby infokeeper » Wed Jun 29, 2016 6:27 pm

infokeeper
 
Posts: 5
Joined: Wed Jun 29, 2016 4:20 pm

Re: h3 class="group" - unnecessary code

Postby infokeeper » Wed Jun 29, 2016 6:29 pm

In footer have link to template whiсh I use.

I think - need to be able to hide the plugin title.
infokeeper
 
Posts: 5
Joined: Wed Jun 29, 2016 4:20 pm

Re: h3 class="group" - unnecessary code

Postby Edvard » Thu Jun 30, 2016 10:24 am

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!
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4361
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: h3 class="group" - unnecessary code

Postby infokeeper » Fri Jul 01, 2016 10:25 pm

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!

Image
infokeeper
 
Posts: 5
Joined: Wed Jun 29, 2016 4:20 pm

Re: Hide empty widget Title (not hide now)

Postby infokeeper » Tue Jul 05, 2016 1:20 am

I solve problem. In my custom.css I add next code:

Code: Select all
h3.group { display: none; }


Maybe it is not elegant sollution.
I hope, in future widget developers solve this problem in code.
infokeeper
 
Posts: 5
Joined: Wed Jun 29, 2016 4:20 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests

2GLux
cron

Time : 0.046s | 12 Queries | GZIP : Off