You are viewing limited content. For full access, please sign in.

Question

Question

Forms CSS - Hide a Table Label

asked on August 27, 2020

I have CSS to hide a table label in my form; however, I'm sure I have done something wrong, since it isn't actually hiding the label at all!  Here is my CSS:

.hidetbllbl .cf-section-header h1 {display: none;}

I have hidetbllbl set as the class for this particular table, but the label is still showing up like I have no CSS targeting it at all.  I have two tables on the form, but this is the only one where I want to hide the label.  Any clues as to what I am missing?

Thanks in advance for any help you can provide!

0 0

Answer

SELECTED ANSWER
replied on August 27, 2020 Show version history

The headers of tables are h2. So try the following:

 

.hidetbllbl h2 {display: none;}

 

This results in the following:

 

 

 

2 1
replied on August 27, 2020

Thank you so much!  That was the problem.

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.