wordpress - How to create a border including a conditional logic element with css -
i rookie when comes css , currenty using custom css plugin in wordpress gravity forms submission form. included in form conditional logic element attached selection field. "external links" shows when select yes. hoping create border around both selection ("does project use links") , conditional element "external links". using code currently
#field_4_19, #field_4_21 { border: 1px solid #d8ab4c;}
and result 2 seperate borders allocated 2 different elements
has suggestion how can alter code both elements wrapped in 1 border?
thank in advance. o
without providing html structure difficult give answer, easier way accomplish you're talking here wrap both elements in div
, apply border around that. you're structure if there 1 element:
<div class="mywrapper"> <input id="field_4_19"> </div>
and if there two
<div class="mywrapper"> <input id="field_4_19"> <input id="field_4_21"> </div>
your css like
.mywrapper { border: 1px solid #d8ab4c;}
Comments
Post a Comment