admin管理员组文章数量:1323336
This is the code of continue reading in function.php
<?php the_content( __( 'Continue reading <span class="meta-nav">→</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">→</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 badges2 Answers
Reset to default 1the 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">→</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
版权声明:本文标题:css - customize continue reading 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742138095a2422458.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论