This topic is locked

Edit customs.css externally

8/28/2020 12:18:33 PM
PHPRunner General questions
A
alfonso authorDevClub member

Is there a way to work externally with the customs.css file and not bind to do it within the application? It is easier and faster for me, but every time we press "Build" the file is overwritten

Sergey Kornilov admin 8/28/2020

You have two options here:

  1. Adding a reference to your custom CSS file via HEAD section:

    https://xlinesoft.com/phprunner/docs/head_section.htm
  2. Or you can edit your CSS file outside of PHPRunner and then pasting its content to Editor->Custom CSS.

A
alfonso authorDevClub member 9/1/2020

I have tested the first option adding a link to the external .css inside the header. The problem is that this way it gives priority to other styles. Attached image. Of course, it is not about adding "! Important" in all styles
https://monosnap.com/file/ggMMFzb3sWLRbhQUdmpmxHF3mzuebV

Myr0n 9/1/2020



I have tested the first option adding a link to the external .css inside the header. The problem is that this way it gives priority to other styles. Attached image. Of course, it is not about adding "! Important" in all styles
https://monosnap.com...UdmpmxHF3mzuebV


Did you try to customize your bootstrap theme like Sergey explains in this thread?

A
alfonso authorDevClub member 9/6/2020

I mean it's easiest to me edit custom css with an external editor

Myr0n 9/6/2020

Then you only have two options as Sergei said, if you don't like the suggestions that remains up to you.