POWr Help Center

Using custom CSS and Javascript in POWr Plugins

Follow

Comments

7 comments

  • Avatar
    Weducatel

    I need to change the list from left to right

  • Avatar
    Pilar

    Hi Weducatel! You should be able to right-align text in the dropdown by adding this line of CSS to Design > Advanced > Custom CSS: select {direction: rtl;}

     

  • Avatar
    Hanif Whyte

    Hi,

    I am using the POWR Map plugin in Wix.

    By default the map keeps its proportions when you increase the height or width but I'd like to set the height and width of the map manually using Custom CSS. Could you advise me what line of code I should use?

     

    Thanks. 

  • Avatar
    Wcrain

    In the custom JS, how do we target the form for an on submit (or on submit button click) event?

    e.g.,

    $('.realForm').on('submit', function(e) {
        console.log('form submitted');
    });

  • Avatar
    Pilar

    I found this in and old doc for how to track GA events for forms:

    $(document).on('click','#submitButton',function(){ 
    CUSTOM GOOGLE ANALYTICS CODE GOES HERE 
    });

    We don't currently offer support for custom code and I unfortunately can't guarantee that this will work. Perhaps another site visitor can advise better on how to successfully set this up. 

  • Avatar
    christian k

    Is there any way to use JS code to add locations to the map?

    I have a list of locations that will be constantly growing, and I want to be able to dynamically include all of them as locations on the map without having to upload a new CSV every other day.

    If not JS, is there any way to programatically add locations like this?

  • Avatar
    Pilar

    Hi Christian!

    This unfortunately isn't possible yet. It sounds like you are trying to connect to a Maps API to add more locations. We don't have an open API for any of our plugins at this time. The CSV upload would be your best option here. I will put in a feature request for an API and/or Zapier integration that could make this possible. It's definitely not a bad idea!

Please sign in to leave a comment.