Tagged: 

Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #650013

    Hello-
    I have been asked to change the format of the “next pages” display to make it more obvious to users that there are next pages… right now on this page for example you just see “1,2,3,4” towards the bottom of the page, example:
    http://www.thomashenthorne.com/homes-sold/

    Is there a way to move it closer to the text, and also to preface it with something like “Pages 1,2,3,4” and maybe make those like little round circles as seen in the Enfold demo?

    Thanks,
    Rob

    #650825

    Hey!

    Try adding this code to the Quick CSS:

    .pagination_split_post:before {content: "Pages";margin-right: 15px;float: left;}
    .pagination_split_post > span, .pagination_split_post a {display:block;float:left;font-size:11px;line-height:13px;padding:2px 9px 1px 9px;text-decoration:none;width:auto;}
    #top .pagination_split_post .current, #top .pagination_split_post a,  #top .pagination_split_post > span, #top .fullsize .template-blog .pagination_split_post a{
        float: left;
        height: 35px;
        width: 35px;
        line-height: 35px;
        text-align: center;
        padding: 0;
        border-radius: 100px;
        margin-right: 3px;
        box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.2);
    }
    .pagination_split_post .current{
        font-size:11px;
        padding:1px 9px 1px 9px;
        font-weight: bold;
    }
    
    

    Cheers! 
    Josue

    #651143

    Brilliant, thank you Josue!!!!

    #651245

    Hi,

    glad we could help. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.

    Best regards,
    Andy

    #651246

    Hi,

    glad we could help. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.

    Best regards,
    Andy

    #920500

    Hi, I have added the .pagination_split_post styling. It works great.

    However, I have a second “Pages:” which used to be before the page numbers (before applying the CSS styling), but after styling the page numbers it moves behind (insufficient space?). Even if I do not use .pagination_split_post:before {content: “Pages”;margin-right: 15px;float: left;}, still this “.Pages” moves behind.

    I have tried to locate it, and found the “Pages:” in the enfold/includes/ folder –> loop-index.php. I tried to edit the file, but to no avail (yes, webpage cache was purged and page refreshed after dumping browser cache).

    I seem to be unable to remove it. Is it hardcoded in WordPress? How to get rid of it?

    Also, how to make the background colour of the current page white, and hover the backf=ground colour white of the other, inactive, pages?

    #921161

    Hi,

    What is your page URL so we can check it and be able to work it?

    Best regards,
    Basilis

    #921252

    Hi Basilis,
    Thanks once more, please see the private content for the link.

    #921984

    Hi,

    Thank you for the update.

    You can adjust the “before” parameter of the wp_link_pages function. Just add this filter in the functions.php file.

    add_filter('avf_wp_link_pages_args', 'avf_wp_link_pages_args_mod',10,1);
    function avf_wp_link_pages_args_mod($args) {
    	$args['before'] = '<nav class="pagination_split_post">';
    	return $args;
    }
    

    Best regards,
    Ismael

    #933342

    Sorry for the belated reply. Worked like a charm, Ismael. Appreciate the support.

    #933371

    Hi medi-paper,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #983521

    Can we add prev and next here?

    Thanks!

    #983621

    Hi debra15,

    I’m not sure I understand what you mean by that?

    Best regards,
    Rikard

    #983748

    Like
    Pre 1 2 3 next
    Or
    « ‹ 1 2 3 › »

    #984032

    Hi debra15,

    Where are you looking to have pagination? Which element are you working with?

    Best regards,
    Rikard

    #984037

    Hi Rikard,

    To split a post, I add some <!–nextpage–> between the content.
    There is “Pages: 1,2,3,4” in the end of the post; however, I want it to be like below:

    For example,
    in page one: 1 2 3 4 next.
    in page two: prev 1 2 3 4 next.
    in page four: prev 1 2 3 4.

    A “prev” and “next” before and after numbers, respectively.

    Thanks,
    debra

    #984137

    Hi debra,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #984391

    Hi Victoria

    Here is the information about the website.

    Thanks,
    debra

    #984616

    Hi debra,

    Here are some articles for you to consider:

    https://firstsiteguide.com/customize-wordpress-pagination-system/

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #984968

    Thanks!
    I solved the problem by this:
    https://gist.github.com/drivenfaroff/7570106

    #985298

    Hi,

    Thank you for letting us know, we appreciate it!

    Best regards,
    Basilis

Viewing 21 posts - 1 through 21 (of 21 total)
  • You must be logged in to reply to this topic.