Home>Support>Add class representation to row block

Add class representation to row block

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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 6 months ago Alex S
    Hi, I Work Here

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More