admin管理员组

文章数量:1323336

This is the code of continue reading in function.php

<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>

It has a class which named meta-nav I tried to find the class and change it but I couldn't find that. Where is that?

Thanks in advance

This is the code of continue reading in function.php

<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>

It has a class which named meta-nav I tried to find the class and change it but I couldn't find that. Where is that?

Thanks in advance

Share Improve this question edited Sep 23, 2012 at 18:43 Ali Vojdanian asked Sep 23, 2012 at 18:01 Ali VojdanianAli Vojdanian 1297 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 1

the css class .meta-nav might or might not be referenced in style.css or any other stylesheet of the theme.

if your theme is Twenty Ten then the css class is not used in style.css - add it as a new style if you need.

You could consider adding your own second class to the span such as: <?php the_content( __( 'Continue reading <span class="meta-nav MYCLASSNAME">&rarr;</span>', 'twentyten' ) ); ?>all lowercase of course, then in your CSS just style it something like, .myclassname { display:inline; color:#333; font-weight:bold; } Just as an example. That way you don't have to touch the original class and you can just add your own to it. I hope that helps!

本文标签: csscustomize continue reading