Adding Themed Texts and use them in code

There is a big problem in the Wix Editor when creating larger systems. Here is an example.

I create the public site for a client and set the themed texts for H1, H2…Paragraph 1 and so on.

I create the admin part of the site using Dashboard Pages and I modify the texts colors and sizes without saving that Theme because if I do I break the public sites Themed settings.

The client goes in and modifies the Themed texts to preferred size, fonts, colors and then they hit Save Theme.

This procedure is common and what happens is that all Dashboard Pages gets updated with the new font settings and all admin pages are visually destroyed and gets non usable. This is a total bummer because I get to redo all Dashboard Pages again and again and the client can’t change any Themed texts at all.

So what we need asap to use Wix Code and the new features like Dashboard Pages is a way to keep text NOT USING Themed texts. I would like to be able to choose a checkbox in my Edit Text that says “Do not use Themes on this text” and if that checkbox is checked that text won’t get updated.

Or the best function ever for the Wix Editor together with Wix Code would be to be able to create new Themed Texts like “H1 Admin” and then that would be available in the Themed Texts choosing areas.

Or the Themed texts saved should be separate between Site Pages, Dashboard Pages, Member Pages and so on to split the use between Themes in different areas of the system.

This was not problem before you start to create a lot of applications, systems where there is a public area, an admin area and so on.

One other cool feature would be to add the below code to the Site Code

let dashboardH1 = {
  font-family: "Arial",
  font-size: "16px",
  font-color: "#776655"... and so on
};

And then in the page code part I could just do like the below code

$w("#page1").H1 = dasboardH1;

The above code will get the settings for the customized H1 from dashboardH1 and make the page1 use that as the H1 on that page only.

If this would be possible I could just make code in Site Code to get the parts of the url that contains dashboard or member-area or /admin-pages/ or whatever and customize the themed font settings this way. Way more professional when creating systems for clients.

2 Likes

Thanks @andreas-kviby . We are looking into it.

Hi @andreas-kviby ,
As we are looking into a long term solution, how about this:
Since there are 6 themes for headers, you can use the first 3 (H1, H2, H3) for the public site, and the rest for the Dashboard Pages (since they are not visible to search engines it won’t make any difference).

That way you can use and save themes both in the site pages and in the Dashboard pages.

Let me know if that works for you.

Thanks!
Or