D
D
denism3002018-12-21 14:07:04
Joomla
denism300, 2018-12-21 14:07:04

Why is custom.css not loading in VirtueMart modal windows?

In the custom.css template, it is connected like this:

if(JFile::exists(JUri::base(true) . 'templates/' . $this->template . '/custom.css')) {
    $doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/custom.css');
}

There was a problem in the VM: it does not load into modal windows (ask a question, a pop-up cart window, etc.).
I tried to load it in the template without the existence check condition - to no avail.
How to fix?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question