Jump to content

Domain templates


myTweak
 Share

Recommended Posts

Hello,

is it possible to edit the subcategories in css? It loads styles from another css file which i dont see in the template list. I just want to set the color green like we have it now in the appearance.css. So far the index looks fine with the company color but the domain list and sub buttons are still blue.

Br
myTweak

Link to comment
Share on other sites

You need to make sure that the browser really loads the CSS files - most browsers try to use the cache and don't even load the file if the name is the same. We include a version=xx in the name so that it will load the files after an upgrade, however that does not work if you modify the templates. One way to do this is to open the debugger and click on disable cache in the network section.

Link to comment
Share on other sites

On 2/28/2020 at 4:22 PM, Support said:

Hi,

 

Using the above solution that we gave you can go ahead and add more custom CSS rules to your portal.

 

Seriously???

That are a lot of sub sites where i dont even know the function and must search for the name in html code. This is a lot of work and this should be included in the Templates. Is there at least a list or something like in Templates?

Im just wondering why is there a Template edit function when half of the sub categories remains blue.

Link to comment
Share on other sites

We follow the idea that style should be in the CSS files and functionality should be in the JS files. The HTML should be the skeleton. There  are always (hopefully small) exceptions, e.g. when it is just a lot easier to add dynamic content in JavaScript and include a class. There is a central CSS file that (in theory) should contain only the generic style information, and there are a few JS files that contain generic functionality e.g. how to format phone numbers. We don't encourage customers to change the JS files because that would usually cause just huge support efforts.

The web server was not designed for frequent updates - that's why you need to tell the browser not to cache files when making changes. We know this when we make changes and it does not cause any problems once the browser stops caching things.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...