Follow

Horizontal scrolling bar glitch on Portfolios

In your Portfolio Editor, you can easily correct this issue by adjusting a small bit of code!

Once you are in your Portfolio Editor, select Code on the top left.

You will then need to select the JS tab option.

Towards the bottom of the field, there will be a line that reads:

$('#photos').mousewheel(function(event, delta, deltaX, deltaY)

Under this, you will find the following line:

event.preventDefault();

Directly underneath this line, you can add the following line of code in order to correct this scrolling issue: 

if (isNaN(deltaX) || isNaN(deltaY)) {

return;

}

Always remember to Save and Publish once you are happy with the changes made to your Portfolio! If you are not comfortable completing this coding solution by yourself, please e-mail help@500px.com for assistance. 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.