TOPIC:

Hide empty and null div from admin email 2 weeks 7 hours ago #263361

  • Luisserafim's Avatar Topic Author
  • Luisserafim
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 201
  • Thanks: 1
Hi,

I have a custom admin email and in css I have a hide empty div's.

But, is not working, I think they are not empty but null...

Do I have to do it in javascript?

This is doing all except hiding empty div's :|
<style type="text/css">
.econtainer {
  margin: 40px auto;
  max-width: 700px;
}
.eresults0 {
width: 100%;
border-bottom: 2px dotted #e5e5e5;
}
.eresults1 {
width: 45%;
height: 25px;
float: left;
}
.eresults2 {
margin-left: 45%;
height: 25px;
}
.eresults0:empty {
display: none;
}
.eresults1:empty {
display: none;
}
.eresults2:empty {
display: none;
}	
</style>

Tx in advance

Please Log in or Create an account to join the conversation.

Hide empty and null div from admin email 2 weeks 7 hours ago #263363

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6926
  • Karma: 3
  • Thanks: 493
Hi,

I am not sure that on this way you can hide div, because in custom email if field is empty, then this field is hidden.

Please send me some screenshot

Regards,
Tihana

Please Log in or Create an account to join the conversation.

Hide empty and null div from admin email 2 weeks 7 hours ago #263365

  • Luisserafim's Avatar Topic Author
  • Luisserafim
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 201
  • Thanks: 1
Hi Tihana,

That is what I want to do but is not appening

There is a buch of empty lines at the bottom of the custom email...

Regards
Attachments:

Please Log in or Create an account to join the conversation.

Hide empty and null div from admin email 2 weeks 6 hours ago #263367

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6926
  • Karma: 3
  • Thanks: 493
Hi,

this is section, am I right?
If yes, then we can use some javascript code using turn on/off.

Regards,
Tihana
The following user(s) said Thank You: Luisserafim

Please Log in or Create an account to join the conversation.

Last edit: Post by tihana.krivic.
  • Page:
  • 1
Time to create page: 0.044 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!