Tagged: x
-
AuthorPosts
-
July 21, 2016 at 7:23 am #1096927
MaddyJonesParticipantHi,
I’ve searched the forum but can’t quite find the answer to my query. I’ve set up buttons in Customiser to be transparent with black outline. However the Read more buttons on the blog posts are still red with white text. How do I change this?
Many thanks
July 21, 2016 at 9:04 am #1097044
ChristianModeratorHey Maddy,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
July 22, 2016 at 10:40 am #1098718
MaddyJonesParticipantThis reply has been marked as private.July 22, 2016 at 12:43 pm #1098894
RahulModeratorHey There,
Follow this thread :
https://community.theme.co/forums/topic/customise-read-more-button/
Hope that helps!
July 27, 2016 at 6:45 am #1104976
MaddyJonesParticipantHi, thanks for your help here. I have updated functions.php on the child theme and also added the css on the link you shared, but nothing has changed. Please can you take a look and let me know what I’m doing wrong?
Many thanks
July 27, 2016 at 8:35 am #1105128
ChristopherModeratorHi there,
Please update this code :
function x_excerpt_string( $more ) { $stack = X_STACK; if ( $stack == 'integrity' ) { return ' ... <div><a href="' . get_permalink() . '" class="more-link x-btn">' . __( 'Read More', '__x__' ) . '</a></div>'; } else if ( $stack == 'renew' ) { return ' ... <a href="' . get_permalink() . '" class="more-link x-btn">' . __( 'Read More', '__x__' ) . '</a>'; } else if ( $stack == 'icon' ) { return ' ...'; } else if ( $stack == 'ethos' ) { return ' ...'; } }To :
function x_excerpt_string( $more ) { $stack = X_STACK; if ( $stack == 'integrity' ) { return ' ... <div><a href="' . get_permalink() . '" class="more-link x-btn">' . __( 'Read More', '__x__' ) . '</a></div>'; } else if ( $stack == 'renew' ) { return ' ... <a href="' . get_permalink() . '" class="more-link x-btn">' . __( 'Read More', '__x__' ) . '</a>'; } else if ( $stack == 'icon' ) { return ' ...'; } else if ( $stack == 'ethos' ) { return ' ... <a href="' . get_permalink() . '" class="more-link x-btn">' . __( 'Read More', '__x__' ) . '</a>'; } }Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1096927 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
