| View previous topic :: View next topic |
| Author |
Message |
Daisy Guest
|
Posted: Mon Mar 13, 2006 2:23 pm Post subject: Changing the look of the tags |
|
|
I installed SimpleTags last week and it's working beautifully. However, I'd like to change their appearance and so have added a class to my stylesheet[1] (using a smaller font and a red dotted top border) and edited the .php file:
$pre_replacement = '<p class="tagtechnorati">Technorati Tags: ';
$post_replacement = '</p>';
This might be a css rather than a php/SimpleTags question (I'm a beginner in both) but the above code adds to dotted lines above the paragraph rather than[2].
Any thoughts on how I can correct this?
-----
[1] http://chasingdaisy.com/wp-content/themes/relaxation/style.css
[2] http://chasingdaisy.com/2006/03/09/its-so-simple/ |
|
| Back to top |
|
Ivan Admin
Joined: 16 Apr 2005 Posts: 340 Location: Belgrade
|
Posted: Mon Mar 13, 2006 7:51 pm Post subject: |
|
|
| Not sure why, but you have two <p class="tagtechnorati"> in your page's source code. Try using a div instead of <p>. |
|
| Back to top |
|
Daisy Guest
|
Posted: Tue Mar 14, 2006 1:20 am Post subject: |
|
|
Bingo! I've now realised that I don't need to add the class code:
<p class"tagtechnorati>[tags]blah, blah[/tags]</p>
because it's built into the php. So I was adding it to the post body each time unneccessarily, thereby duplicating that red dotted line. D'oh!
Thank you for fixing this with such a speedy response Ivan  |
|
| Back to top |
|
|