ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

channel fields breaking custom css?

November 11, 2011 5:06am

Subscribe [2]
  • #1 / Nov 11, 2011 5:06am

    digitalillusions

    10 posts

    Is it normal when using custom css and channel fields, the custom css doesn’t render?
    eg. klant:{project_klant}.

    “klant:” renders ok. the channel field {project_klant} doesn’t.
    besides after “klant:” there’s an unnecessary <br> automatically without me coding it?

    ps: I tried to recreate with a span and custom class as well with the same outcome.

    h1{
     font-family: 'ChunkFiveRoman', arial, sans-serif;
     color: #C5C3C2;
     font-size: 18pt;
     line-height: 20pt; 
     font-weight: 200;
     /* CSS3 */
     text-shadow: 1px 1px 1px #313131;
    }
    {exp:channel:entries channel="project"}
    
          <div class="grid_5 projecten">
           <a name="print"></a>
           <h2 class="active">{categories}{category_name}{/categories}</h2>
           <h1>klant:{project_klant}<br></h1>
           <h3>{project_diensten}</h3>
    <p>       <div class="spacer3"></div><br />
           <br />
           <span class="extra">{project_tekst}</span><br><br />
          </div><br />
          <br />
    {/exp:channel:entries}

  • #2 / Nov 11, 2011 9:09am

    Sue Crocker

    26054 posts

    Hi, digitalillusions.

    Double check that the field formatting for the {project_klant} field is set to None.

    You are putting in the
    by hand here, unless this is typing error.

  • #3 / Nov 11, 2011 1:54pm

    digitalillusions

    10 posts

    That was exactly what was wrong. Thank you for the help…

  • #4 / Nov 15, 2011 3:09pm

    Lisa Wess

    20502 posts

    Glad Sue was able to help you out, digitalillusions!  If anything else comes up, please do start a new thread so we can help out.

    Thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases