Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

How to style Types Textfields with css (frontend)

$
0
0

Hey,

I am the support guy of this website http://sg-coesfeld.de/volleyball/herrenmannschaften/1-herrenmannschaft/
Usually the custom fields (picture and the text below) are styled by their types-name, for example

#wpcf-field-ansprechpersonen {padding: 1px; border: 1px solid #D7D7D7; width: 250px; margin-bottom: 10px;}

but suddenly the code does not make divs anymore for each custom field (I guess after an update), even if the code to embed is

                                <?php echo(types_render_field("ansprechpersonen", array("output"=>"html", "show_name"=>"false"))); ?>

How can i get this code to output

<div id="wpcf-field-fieldname">Content</div>

again?

I appreciate every kind of help!

(Sorry for grammer/spelling mistakes)


Viewing all articles
Browse latest Browse all 20145

Trending Articles