Problem with random quotes in tagline
-
Hi there! I’ve been trying to make my tagline display randomly rotating quotes and have found wp_quotes and Witty Text. I’ve managed to get them both working, but I have the same problem in both of them.
WordPress seems to strip the quotes of their formatting, or to be more precise it doesn’t apply the CSS formatting specified to them which is causing layout problems on my blog.
The theme I’m using (Regulus) calls the quotes in the header like this:
<p class="site_description"><?php wp_quotes_random(); ?></p>
however, it doesn’t apply the formatting of “#header p{}” to it which in this case specifies a padding on the right hand side of 95px.This means that it is not being indented to the left by 95px which means that the text is obscured by the header image. However, if you change the call from witty() or wp_quotes_random() back to the default of bloginfo(‘description’), it is formatted properly!
Does anyone know why this is happening or a solution to the problem?
Thanks for your help
Leon
- The topic ‘Problem with random quotes in tagline’ is closed to new replies.