How to open Portfolio in new page in RokoPhoto

Make sure you're using a child theme, if not then here's how you can create one. After creating the child theme, copy your /sections/portfolio.php file to your child theme, maintaining the folder structure.

In portfolio.php file, find this

href="#portfolioModa<?php the_ID(); ?>"
and replace it with:
href="<?php the_permalink(); ?>"

That should do it.