Default css template

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
web3r
Posts: 2
Joined: Mon Jun 30, 2014 11:45 am

Default css template

Post by web3r »

Hi.
How to change the default CSS template (empty) when you open it from "File > New > CSS"? Is that possible?
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Default css template

Post by Aivars »

It is possible by editing <Webuilder folder>\data\newdoc.ini file.

1) Create the CSS file that you want and click menu File -> Save as Template. You might need to run Webuilder as Administrator is you don't have permissions to save in that folder.

2) Find in data\newdoc.ini file these lines:
[css]
Description=Cascading Style Sheet
Extension=css

and add a line right below them:

Template=CSS\your_template_name.css
Blumentals Software Programmer
web3r
Posts: 2
Joined: Mon Jun 30, 2014 11:45 am

Post by web3r »

Thanks! :)
Post Reply