Login | Sign up | Toll-Free: 1-800-752-0455
 
 

Forum

 

2 posts by 2 authors in: Forums > CMS Builder
Last Post: January 20, 2015

Try changing your code to this:

<h1 class="short word-rotator-title">
TEBBEN is a quality manufacturer of <strong class="inverted">
<span class="word-rotate" data-plugin-options='{"delay": 2000, "animDelay": 300}'>
<span class="word-rotate-items">
   <?php foreach ($homepageRecord as $record): ?>
   <?php $lines = explode("\n", $homepageRecord['rotating_upper_words']); ?>
   <?php foreach ($lines as $line) : ?>
     <?php if($line != ''): ?>
       <span><?php echo $line; ?></span>
     <?php endif; ?>
   <?php endforeach; ?>
   <?php endforeach ?>
</span>
</span>
</strong>
</h1>

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/