"Read more" not accepting CSS style in K2
-
Hi, I’ve tried several methods from various tutorials online, but none seem to work.
You can see the issue here, in the post “The ultimate no-budget filmmaker lenses for the…” (currently the latest post)…
https://maketimemove.comThis is the style, from my “style.css”…
.read-more, h3 { /* H3 is entry headlines. H4 is comments and replyform headlines */ display:inline; background-color: #B3FFFF; border-color: #B3FFFF; border-width: 2px; border-style: solid; line-height: 1.4em; font-weight: normal; padding-bottom: 0px; text-align:right; }
This is what I currently have in “single.php”…
<?php the_content('<span class="read-more">...CONTINUE TO THE FULL ARTICLE</span>', 'k2_domain')); ?> </div><!-- .entry-content -->
It’s still displaying the “read more” text how it always has, as if I had never changed the default K2 code. Here’s that code (which I changed already)…
<?php the_content( sprintf( __('Continue reading \'%s\'', 'k2_domain'), the_title('', '', false) ) ); ?> </div><!-- .entry-content -->
Is “single.php” the wrong file to be changing? Thanks in advance for any help.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘"Read more" not accepting CSS style in K2’ is closed to new replies.