• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Center "Read More" link in Genesis

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Center "Read More" link in Genesis

This topic is: not resolved

Tagged: genesis sample, read more link

  • This topic has 1 reply, 1 voice, and was last updated 10 years, 3 months ago by mairagall.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 11, 2015 at 10:51 am #144035
    mairagall
    Member

    Hello! I've read every topic related to the read more link and still can't do a simple thing like center it.

    I'm using Genesis Sample theme and this is my current CSS:

    a.more-link{
    background: #343b4d;
    padding:5px 10px;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:1px;
    margin:0 auto;
    text-align:center;
    }

    I also tried adding .content before the a.more-link, as someone suggested in the forum.

    I think the problem is that the link is placed inside a p and I can't center only that p inside the post content.

    This is the function I've added to change the link text:

    
    //* Modify the WordPress read more link
    add_filter( 'the_content_more_link', 'sp_read_more_link' );
    function sp_read_more_link() {
    	return '<a href="' . get_permalink() . '">Continue Reading</a>';
    }

    I appreciate any suggestion.

    Thanks in advance!

    March 11, 2015 at 12:06 pm #144054
    mairagall
    Member

    Fixed! I added display:block; and width:33%; to the previous CSS. I have to check how this works in small screens and do the necessary modifications.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble