Some questions I want to be clear on 🤔 Вопрос

Cipherchunk Cipherchunk 16 Марта 2023

Will a custom css file override any css in the main site like layout?
When you post to a topic does it automatically match it with a sub topic or the admin attach them to the sub topic?

2 Комментария

  1. Файл custom.css подключается в файле build.css последним, значит он будет переопределять все файлы, чтоб были до него.

    The custom.css file is included last in the build.css file, which means it will override all files to come before it.

    // resources/views/default/css/build.css
    @import './components/components.css';
    @import './components/basic.css';
    
    // ........ etc.
    
    @import './components/media.css';
    @import './components/code.css';
    
    @import './components/catalog.css';
    
    @import './components/dark-theme.css';
    
    @import 'custom.css';

    Administrator staff substitutes Topics such that the question is more relevant to them. This is a constant work on quality sites, for example: Stack Overflow

  1. Does it work on shared host where I just upload the site files or I have to build the site with composer?