Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1469574

    Hi,

    I’m trying to edit the search option result page.

    First, the result numbering is over the result search option link and must be fixed.
    But, I would like to edit the page, adding a banner or something to make it look more like the site’s theme.

    Thank you

    #1469583

    Hey Reut Rachel,

    Thank you for the inquiry.

    You will have to manually modify the includes > loop-search.php file in order to add a banner and move the pagination. To move the pagination, look for this line of code at the very bottom of the file:

    echo avia_pagination( '', 'nav' );
    

    Move it below this code, around line 4:

    global $avia_config;
    

    Best regards,
    Ismael

    #1469915

    Hi Ismael
    Thank you for the help.

    Unfortunately, I couldn’t find the loop-search.php file in the wp-includes folder.

    Also, the same problem with the pagination overlapping the result is happening on another site of mine and I couldn’t find the loop-search.php file in the wp-includes folder. ether.

    Can you help me fix it on both sites?

    Thank you

    #1469917

    it is not in the wordpress folder – it is inside the enfold folder : includes

    #1469932

    Yes, of course, it was my mistake.

    So I copied the file from the Enfold theme to my Enfold child theme. I’ve moved the code line – echo avia_pagination( ”, ‘nav’ ); to be below the code line – global $avia_config;
    But nothing has changed. I created a sub-folder – includes – inside the enfold child folder and put the correct loop-search.php file in this folder
    and still, nothing has changed.

    What am I missing?

    I’ve added links to the 2 websites I’m having this problem directly to a random search results page for you to see the problem on your own.
    The first one is the website I’ve altered the files
    The second one I didn’t change anything.

    #1469961

    Hi,

    Thank you for the update.

    On the first link or page, the pagination is positioned above the post, which means that the modification works. If you’d like to adjust the counter container, please try adding this css code:

    #top .template-search.content .entry-content-wrapper {
        padding-right: 50px;
    }

    Best regards,
    Ismael

    #1469979

    Hi Ismael

    Thank you so much.
    It’s fixed on both sites now.

    #1470021

    Hi,
    Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Result search page edit’ is closed to new replies.