Okay
  Public Ticket #2743929
JavaScript HTML DOM - Changing CSS
Closed

Comments

  • Roman started the conversation

    Hi,

      Is there a way for me to put some custom code somewhere so that when people play one of my tracks, it modifies the CSS? Basically, I want to insert some JavaScript to change the background of the page. I have a few playlists on a page, and depending on which playlist is playing I would love to have the background change.

    Thanks so much, and look forward to hearing from you!

  •  1,103
    Max replied

    Hi,

    This would require some custom js/css programmation and is a little bit beyond the scope of our free support.

    For your info, you can put your custom css in the default WordPress customizer.. The customizer is located in WP-Admin > Apperance > Customize > Additional CSS


    Thanks,


    Max from the Sonaar.io Crew

  • Roman replied

    Thanks, Max. What would it cost?

  •  1,103
    Max replied

    You want to when someone click play, the background change for another color?

    Can you elaborate on what you are looking for exactly so I can get back to you with an estimate?

    Thanks,


    Max from the Sonaar.io Crew

  • Roman replied

    Thank you for the reply. What I would like to happen is that when someone plays a song, the background of the page is the featured image for the playlist. THanks!

  •  1,103
    Max replied

    Ok can you show me your current website so i can check how is your setup right now?


    Thanks,


    Max from the Sonaar.io Crew

  • Roman replied

    Sure thing:


    https://www.romanmolinodunn.com/film-composer-listen

  •  1,103
    Max replied

    Hi,

    I think it would take us around 1 hour for prototype and 1 additional hour max for final-touch, so its max 2 hour job. We charge $80 per hour.

    Some issues that will arise:

    - Your playlist text is white. What happens when you will have the fullscreen image background of your white album cover (you gonna have a white text over a white background)

    - Your image albums are square. here is a quick screenshot of what it can looks like with a big widescreen monitor: https://d.pr/i/ljXMTl

    Please advise,

    Thanks,


    Max from the Sonaar.io Crew

  •  1,103
    Max replied

    Here is a screenshot of your white album cover behind a white playlist text: https://d.pr/i/MB78Fu

    Thanks,


    Max from the Sonaar.io Crew

  • Roman replied

    Max,

      I think you are right. It is probably unreasonable since the album covers can be of all types... I greatly appreciate you taking the time to look into it. As for the rate, that is no problem, however, I think I need to wait until I figure out a good solution on my end... Thanks so much for your help, I really absolutely love my Sonaar!

  •  1,103
    Max replied

    You are welcome.



    Thanks,


    Max from the Sonaar.io Crew