Zen Follower
- Join Date:
- Aug 2013
- Location:
- Bridlington
- Posts:
- 151
- Plugin Contributions:
- 0
Adding Text Into The Header
dbltoe:
The reason I was taking another look is that I wanted to make sure this wasn't going to break with a PHP upgrade. Let's try
[I]<div class="logoText"><?php echo nl2br("'This is my text1.\n\rThis is my text2."); ?></div>[/I]If there's too much spacing between the lines, remove the \r to see if that helps. The example shown should result in```
This is my text1.
This is my text2.
Without the \r the result should be
This is my text1.
This is my text2.
That worked however the result was the same as using the <br> option. Bare in mind that the coding is beyond my capabilities to create so all I`m doing is letting you know the results. With the code you suggested we got exactly what I needed but it threw out the icons below as seen in this screenshot.
Using the BR option along with an extra line for an email link worked but still threw out the icons.
Would I be right in assuming that somewhere in the CSS file there is something stopping the header from adjusting its size to accommodate the lines of text and the icons or maybe something there to control the placement of the icons ??