Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #27313

    Hi,

    Thanks for the great support, so far the best.

    I searched allover the forum before writing this message without finding my answer

    In the portfolio, I’d like to invert the left and right slideout tabs, so the right tabs leads to the next item and the left one to the previous.

    Is it possible?

    Thanks for your help !

    Regards,

    Wrosh

    #133595

    Hi,

    Open config-templatebuilder > aviashortcodes > portfolio.php, find this code on line 262:

    <a href='#prev' class='ajax_previous'>".$avia_config['font_icons']['prev']."</a>
    <a href='#next' class='ajax_next'>".$avia_config['font_icons']['next']."</a>

    Replace it with:

    <a href='#next' class='ajax_previous'>".$avia_config['font_icons']['prev']."</a>
    <a href='#prev' class='ajax_next'>".$avia_config['font_icons']['next']."</a>

    Regards,

    Ismael

    #133596

    Hi Ismael,

    Thanks for your quick answer.

    Unfortunately that doesn’t work. I still have the previous item on the right and the next on the left. Is there something else to update?

    I did update the code in portfolio.php on line 262.

    The url of my website is : http://arthurcommin.fr/print/

    For information I’m using Enfold 1.8.4, and WordPress 3.5.2

    Thanks in advance !

    Regards,

    Arthur

    #133597

    Hi,

    I think I found the solution.

    I updated functions-enfold.php on line 319 whith this code :

    $entries = get_previous_post($same_category);

    $entries = get_next_post($same_category);

    It seems to work as expected.

    Your code works with the Ajax portfolio version. I just inverted the two lines, and the font_icon to make work.

    “.$avia_config.”

    “.$avia_config.”

    Consider the thread solved !

    Thanks again.

    Regards,

    wrosh

    #133598

    Hey,

    The code I gave you should work. I don’t know why it didn’t on your end. Anyway, glad you fixed it. :)

    Cheers,

    Ismael

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Invert the next/last slideout tabs on the left and right side of the page’ is closed to new replies.