Support » Fixing WordPress » Increase Size of Pagination Font Text?

  • Resolved KrisBunda3D

    (@bunda3d)


    Hi,

    Here’s my pagesource div code from a blog post I placed a <!–nextpage–> tag in the text editor. It seems to work fine, but the text reads so small, a reader will overlook it.

    Anyone know how to get my text styling to increase the size of the fonts here?

    <p class="content-pagination">
    <span class="cp-desc">pages:</span>
    <span class="cp-num">1</span>
    <a href="http://xxxxxx.com/blog/xxxxxxx/2/">

    I’ve tried several things read from forums here, to no avail. Including going into my theme’s “footer code” customizer thing and typing in css like:

    ‘p.content-pagination {
    font-size: 250%;
    }`

    But I’m thinking that’s not the place for css, and/or it’s not the proper element to style…?

    Any help appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • try (via style.css of a child theme, or via a custom CSS plugin):

    p.content-pagination span {
    font-size: 250%;
    }
    p.content-pagination a {
    font-size: 250%;
    }

    please post the name and download link of your theme, so somebody can help to find out whether your theme has a custom CSS section.

    also, for real support with formatting issues, please post a live link where the problem can be inspected.

    That worked perfectly.

    I created a child theme, and then pasted a version of your css in it:

    /*
    Theme Name: Platform Child Theme
    Theme URI: http: http://xxxxxx.com/blog/wp-content/themes/platform-child
    Description: This is a custom child theme for PageLines Platform theme.
    Author: xxxxxx
    Author URI: http://xxxxxx.com/blog
    Template: platform
    Version: 0.1
    Text Domain: platform-child
    */
    p.content-pagination {
    	border: 4px solid #DC143C;
    	padding: 5px 5px 5px 10px;
    }
    p.content-pagination span {
    font-size: 36px;
    }
    p.content-pagination a {
    font-size: 36px;
    }
    p.content-pagination .cp-desc {
    color: black;
    }

    And of course, I did the “functions.php” file that’s necessary now when creating child themes.

    This theme is called “Platform” from PageLines. It’s not supported anymore and I think its last update was 2011 or so (at least to the main css file, according to its date).

    Anyway, I don’t think readers will so easily miss the pagination now. Thanks for the help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Increase Size of Pagination Font Text?’ is closed to new replies.