Stevebenson223
Member
I have built a working membership app in my Fabrik test site which includes a custom_css.php file to make some cosmetic changes to various lists. This works fine.
But when I re-created the app in a live site, the custom_css.php file which I copied makes no changes to the site. The rest of the app works fine.
I'm using the standard custom_css.php file in the following location:
components/com_fabrik/views/list/tmpl/bootstrap/custom_css.php
Using the browser inspect tool on the live site and selecting an element I have changed, the custom_css.php doesn't appear (it does on the test site).
As an example, I have used this custom css:
/* hides the display button - magnifying glass - on all lists */
#listform_$c .fabrik_actions .btn.fabrik_view {display:none}
This works on the test site but not on the live site and, as mentioned above, it does not even appear when I select the element in the browser inspect tool. Yet, using the tool, I can type display:none in the "element:style" pane and it works!
It's as if something is blocking the custom_css.php file. I've scoured the internet, this forum and the wiki but can't find any suggestions. I've also messaged my web hosts and I'm waiting for a response.
I have the same set-up on both sites: Joomla 3.10.2, Fabrik 3.10, PHP 7.4 and even the same templates. I do have some components on the live site which are not on the test site, including Admin Tools, but can't find anything in the Admin Tools documentation that suggests it may be blocking the file.
Does anybody have any suggestions? I've been trying to fix this for two weeks!
But when I re-created the app in a live site, the custom_css.php file which I copied makes no changes to the site. The rest of the app works fine.
I'm using the standard custom_css.php file in the following location:
components/com_fabrik/views/list/tmpl/bootstrap/custom_css.php
Using the browser inspect tool on the live site and selecting an element I have changed, the custom_css.php doesn't appear (it does on the test site).
As an example, I have used this custom css:
/* hides the display button - magnifying glass - on all lists */
#listform_$c .fabrik_actions .btn.fabrik_view {display:none}
This works on the test site but not on the live site and, as mentioned above, it does not even appear when I select the element in the browser inspect tool. Yet, using the tool, I can type display:none in the "element:style" pane and it works!
It's as if something is blocking the custom_css.php file. I've scoured the internet, this forum and the wiki but can't find any suggestions. I've also messaged my web hosts and I'm waiting for a response.
I have the same set-up on both sites: Joomla 3.10.2, Fabrik 3.10, PHP 7.4 and even the same templates. I do have some components on the live site which are not on the test site, including Admin Tools, but can't find anything in the Admin Tools documentation that suggests it may be blocking the file.
Does anybody have any suggestions? I've been trying to fix this for two weeks!