• 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

post pagination css help

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 › post pagination css help

This topic is: resolved

Tagged: pagination

  • This topic has 5 replies, 2 voices, and was last updated 2 years, 3 months ago by ssamioglu.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • December 10, 2020 at 8:00 am #502271
    ssamioglu
    Participant

    I am realy happy to use news pro theme (latest) on akillisebekeler.comç

    I have added the below code to show prev and next post on singel page but I could not make it shown as author box style as native. you can find how it works now at https://imgur.com/a/WRpXKN6

    Css ı have used;

    .single .adjacent-entry-pagination {
    background-color: #f3f3f3;
    border-bottom: 1px solid #e3e3e3;
    margin: 0;
    overflow: hidden;
    padding: 20px;
    }

    //ss//* Code to Display Prev/Next on below post*/
    add_action( 'genesis_entry_footer', 'single_post_adjacent_entry_nav_genesis' );

    function single_post_adjacent_entry_nav_genesis() {

    if ( ! is_singular() ) {
    return;
    }

    genesis_markup( array(
    'open' => '<div %s>',
    'context' => 'adjacent-entry-pagination',
    ) );

    echo '<div class="pagination-previous alignleft">';
    previous_post_link( '%link', '« %title' );
    echo '</div>';

    echo '<div class="pagination-next alignright">';
    next_post_link( '%link', '%title »' );
    echo '</div>';

    genesis_markup( array(
    'close' => '</div>',
    'context' => 'adjacent-entry-pagination',
    ) );

    }

    https://www.akillisebekeler.com/
    December 16, 2020 at 2:15 am #502326
    ssamioglu
    Participant

    Can anybody have idea to realize my request?

    December 17, 2020 at 7:28 pm #502338
    Anita
    Keymaster

    I am not sure what you are trying to accomplish. Are you trying to add pagination to the Author archive page?


    Love coffee, chocolate and my Bella!

    December 17, 2020 at 11:38 pm #502339
    ssamioglu
    Participant

    Hi Anita,

    I have already done the pagination on my news pro theme. but pagination background is white and not looks good. I am tryin to ask that can you help me to make it look as native like author box background.

    Full width gray background.

    December 19, 2020 at 8:54 am #502348
    Anita
    Keymaster

    Post a link to the exact page where this is located.


    Love coffee, chocolate and my Bella!

    January 1, 2021 at 7:15 am #502457
    ssamioglu
    Participant

    Hi Anita,

    Sorry for the late response; I have made a pic for better understanding. Here is what I want looks post pagination like https://imgur.com/EkFfGD2.

    roughly idea is;
    1- background-color: #f3f3f3
    2- Background-size: width 100% height 50 px fixed

    this is all I want.

    I am not a developer so I need your help to do..

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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

© 2023 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