• Resolved drjs

    (@drjs)


    Hi! I’m loving Kale so far and will probably upgrade to Pro. I’m just a bit stuck on a couple of things.

    1. Is it possible to remove the background and increase the page/ content width to 100%?

    2. On pages is it possible to show ‘show previous/ show next’ on each page (similar to posts)?

    3. I know I can edit the footer in my child theme (to remove Kale by LyraThemes.com) but is this visible is the Pro version?

    Many thanks!!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • corewpress

    (@corewpress)

    Hello @djrs,

    Hope you are having a great day and thanks for contacting us!

    #1, it is possible, but it will require a CSS cope snippet, Could you share your URL so I can see this first hand?

    #2, There are two ‘built-in’ ways of doing this in WordPress (but it’s not something within the theme):

    A) If you need access to the link as a PHP variable, try Using get_next_posts_link

    <?php $nextLink = get_next_posts_link( $label , $max_pages ); ?>
    <?php $previousLink = get_previous_posts_link( $label ); ?>

    From here the links are stored in variables and you can do whatever you’d like with them.

    B) Otherwise use these:

    <?php next_posts_link( $label , $max_pages ); ?>
    <?php previous_posts_link( $label ); ?>'
    Where $label is the name of the link ( "Next Page" in your case ) and $max_pages is the max number of pages (if you want a limit), that the link shows up on.
    
    If you want to style these, without having to enclose them inside another DIV, use WordPress Filters
    
    

    function apply_my_next_link_style ( ){
    return ‘class=”button”‘;
    }
    apply_filters( ‘next_posts_link_attributes’, ‘apply_my_next_link_style’ )`

    C) If you need even more control you can try this, from the source code for the above functions:

    if ( !is_single() ) {
        echo '<a>" . preg_replace('/&([^#])(?![a-z]{1,8};)/i', '&$1', "Next Page") . '</a>';
    }

    #3, that text is also visible in the Pro version, but as in the free one it could be removed.

    Please, let me know if you need any further assistance.
    Kind regards,
    Diego

    • This reply was modified 7 years ago by corewpress.
    Thread Starter drjs

    (@drjs)

    Thanks for getting back to me so quickly Diego!

    That is really helpful. My site is https://www.frifran.com

    ??

    corewpress

    (@corewpress)

    Hi again!

    For #1, Please go to WP Admin > Appearance > Customize > Additional CSS and inside that box, add the following code:

    .container { width: 100%; }
    body.custom-background .main-wrapper { width: 100%; }

    Please, let me know if you need any further assistance.
    Kind regards,
    Diego

    Thread Starter drjs

    (@drjs)

    Fab. Thank you so much!!!

    corewpress

    (@corewpress)

    You’re welcome! Glad to help.
    Please, let me know if you need any further assistance.
    Kind regards,
    Diego

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove background (increase content/ page width’ is closed to new replies.