New answers tagged

0

Joomla's default Protostar template includes CSS files with JHtml::_('stylesheet', 'template.css', array('version' => 'auto', 'relative' => true)); The ['version' => 'auto'] adds a media version MD5 hash as token to the file. The media version is regenerated by Joomla whenever anything is installed on the Joomla instance. See https://docs.joomla....


0

Bootstrap does not use !important in its CSS font declarations, therefore the CSS file where you have declared your fonts must be getting loaded before Bootstrap CSS. I have no knowledge of Joomla Monster templates; but with most template developers, there is usually a "custom" CSS file for this purpose. Joomla-Monster Documentation. Otherwise, you ...


2

Personally I wouldn't use a .css.php file. The following assumes you WON'T be supporting Internet Explorer and I will be answering your question about CSS filters. The grid/masonry can be asked as a separate question. So, let's say you want to set a CSS filter (grayscale) and the percentage is set dynamically. You firstly want to have the following CSS file (...


Top 50 recent answers are included