Home Forums Arnold WordPress Theme Adding custom js to theme

This topic contains 1 reply, has 2 voices, and was last updated by  BWSM 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17870

    alalo
    Participant

    I would like my site’s background to change based on which filter is active on the main portfolio page. I have been digging around in arnold/js/custom.theme.js but I can’t find where the js filter is applied and the ui changes. Could you point me to which line this occurs on? I think from there I can simply add style.body.backgroundColor = [whatever] ect.

    My site is https://ajalong.com/digitalmedia/ if that helps but I don’t think it’s relevant in this case.

    Thanks!

    #17871

    BWSM
    Keymaster

    Hi,

    It is in line 1129 of custom.theme.js

    
    _filters.on( 'click', function() {
    ...

    Regards!
    Bwsm – uiueux.comTwitterFacebook

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

You must be logged in to reply to this topic.

Join Newsletter(FREE)

Subscribe to our newsletter to receive news & updates. We promise to not spam you, super promise!