This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Add class representation to row block

8 years ago · Last reply by Alex S 8 years ago

Hey, i start with thank you for the best page builder – love it!

In order to make it more mobile friendly i want to add a list of row classes to the top of the row (i actually want to filter and check if mobile_only or similar exist) so i would know from the outside which row is presented in mobile and which in desktop.

i managed to add some text there by changing js-templates.php (which i rather not do but.. ok)
but inside that file i dont know how to get / access the row classes.

image explaning:

ideas anyone?

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Alex S Staff 8 years, 11 months ago

    Hi Imri,

    Thank you for the kind words! :)

    To clarify, it sounds like you would like to change the widget description based on class. Correct?

    If so, to change that you’ll need to do this via JavaScript / BackBone. I can’t directly assist but I can provide basic direction.

    Currently, we use this model to work out what value to use. I personally would replacing it with your own model.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread